Skip to content

Commit

Permalink
Merge pull request #68 from tmiw/wx31
Browse files Browse the repository at this point in the history
Port FreeDV to wxWidgets 3.1
  • Loading branch information
drowe67 authored Aug 8, 2020
2 parents 8e4da71 + e92e7dd commit 4d14643
Show file tree
Hide file tree
Showing 13 changed files with 129 additions and 172 deletions.
18 changes: 17 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ message(STATUS "Compilation date = XX${DATE_RESULT}XX")
#
set(FREEDV_VERSION_MAJOR 1)
set(FREEDV_VERSION_MINOR 4)
set(FREEDV_VERSION_PATCH 2)
set(FREEDV_VERSION_PATCH 3)
set(FREEDV_VERSION_SUFFIX "devel")

set(FREEDV_VERSION ${FREEDV_VERSION_MAJOR}.${FREEDV_VERSION_MINOR})
Expand Down Expand Up @@ -397,6 +397,7 @@ if(WXRC)
set(wxWidgets_wxrc_EXECUTABLE ${WXRC})
endif(WXRC)
set(WX_VERSION_MIN 3.0.0)
set(WX_31_VERSION_MIN 3.1.3)
find_package(wxWidgets REQUIRED core base aui html net adv)
execute_process(COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" --version
OUTPUT_VARIABLE WX_VERSION)
Expand All @@ -412,6 +413,16 @@ where wxWidgets libraries are installed (returned by
is in LD_LIBRARY_PATH or equivalent variable and
wxWidgets version is ${WX_VERSION_MIN} or above.")
endif()

if(APPLE)
if(WX_VERSION VERSION_EQUAL ${WX_31_VERSION_MIN}
OR WX_VERSION VERSION_GREATER ${WX_31_VERSION_MIN})
set(DARK_MODE_DISABLE "false")
else()
set(DARK_MODE_DISABLE "true")
endif()
endif(APPLE)

if(wxWidgets_FOUND)
include("${wxWidgets_USE_FILE}")
list(APPEND FREEDV_LINK_LIBS ${wxWidgets_LIBRARIES})
Expand Down Expand Up @@ -470,6 +481,11 @@ add_subdirectory(contrib)

message(STATUS "Build type will be: ${CMAKE_BUILD_TYPE}")

if(APPLE)
configure_file ("${PROJECT_SOURCE_DIR}/src/info.plist.in"
"${PROJECT_BINARY_DIR}/src/info.plist" )
endif(APPLE)

#
# Cpack NSIS configuration for Windows.
#
Expand Down
2 changes: 1 addition & 1 deletion build_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ make VERBOSE=1
# Finally, build freedv-gui
cd $FREEDVGUIDIR && git pull
mkdir -p $BUILD_DIR && cd $BUILD_DIR && rm -Rf *
$CMAKE -DCMAKE_BUILD_TYPE=Debug -DCODEC2_BUILD_DIR=$CODEC2DIR/$BUILD_DIR -DLPCNET_BUILD_DIR=$LPCNETDIR/$BUILD_DIR ..
$CMAKE -DCMAKE_BUILD_TYPE=Debug -DCODEC2_BUILD_DIR=$CODEC2DIR/$BUILD_DIR -DLPCNET_BUILD_DIR=$LPCNETDIR/$BUILD_DIR -DBOOTSTRAP_WXWIDGETS=1 ..
make VERBOSE=1


4 changes: 2 additions & 2 deletions cmake/BuildWxWidgets.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(WXWIDGETS_VERSION "3.0.4")
set(WXWIDGETS_VERSION "3.1.4")
set(WXWIDGETS_TARBALL "wxWidgets-${WXWIDGETS_VERSION}")

# If we're cross-compiling then we need to set the target host manually.
Expand All @@ -10,7 +10,7 @@ endif()
if(MINGW AND CMAKE_CROSSCOMPILING)
set(CONFIGURE_COMMAND ./configure --build=${HOST} --host=${HOST} --target=${HOST} --disable-shared --prefix=${CMAKE_BINARY_DIR}/external/dist)
elseif(APPLE)
set(CONFIGURE_COMMAND ./configure --disable-shared --with-macosx-version-min=10.9 --prefix=${CMAKE_BINARY_DIR}/external/dist --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin CXXFLAGS=-stdlib=libc++\ -std=c++11\ -DWX_PRECOMP\ -O2\ -fno-strict-aliasing\ -fno-common)
set(CONFIGURE_COMMAND ./configure --disable-shared --with-macosx-version-min=10.10 --prefix=${CMAKE_BINARY_DIR}/external/dist --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin CXXFLAGS=-stdlib=libc++\ -std=c++11\ -DWX_PRECOMP\ -O2\ -fno-strict-aliasing\ -fno-common)
else()
# set(CONFIGURE_COMMAND "true")
# set(MAKE_COMMAND $(MAKE) -C build/msw -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release PREFIX=${CMAKE_BINARY_DIR}/external/dist)
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if(APPLE)
COMMAND rm ARGS -rf FreeDV.* dist_tmp
COMMAND mkdir ARGS -p FreeDV.app/Contents/MacOS
COMMAND mkdir ARGS -p FreeDV.app/Contents/Resources/English.lproj
COMMAND cp ARGS ${CMAKE_CURRENT_SOURCE_DIR}/info.plist FreeDV.app/Contents
COMMAND cp ARGS ${CMAKE_CURRENT_BINARY_DIR}/info.plist FreeDV.app/Contents
COMMAND cp ARGS ${CMAKE_CURRENT_SOURCE_DIR}/freedv.icns FreeDV.app/Contents/Resources
COMMAND echo ARGS -n "APPL????" > FreeDV.app/Contents/PkgInfo
COMMAND cp ARGS freedv FreeDV.app/Contents/MacOS/FreeDV
Expand Down
12 changes: 6 additions & 6 deletions src/dlg_audiooptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ AudioOptsDialog::AudioOptsDialog(wxWindow* parent, wxWindowID id, const wxString
bSizer811 = new wxBoxSizer(wxHORIZONTAL);
m_staticText51 = new wxStaticText(m_panelRx, wxID_ANY, _("Device:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText51->Wrap(-1);
bSizer811->Add(m_staticText51, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer811->Add(m_staticText51, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_textCtrlRxIn = new wxTextCtrl(m_panelRx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
bSizer811->Add(m_textCtrlRxIn, 1, wxALIGN_CENTER_VERTICAL|wxALL, 1);
m_staticText6 = new wxStaticText(m_panelRx, wxID_ANY, _("Sample Rate:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText6->Wrap(-1);
bSizer811->Add(m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer811->Add(m_staticText6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_cbSampleRateRxIn = new wxComboBox(m_panelRx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(90,-1), 0, NULL, wxCB_DROPDOWN);
bSizer811->Add(m_cbSampleRateRxIn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 1);

Expand Down Expand Up @@ -135,7 +135,7 @@ AudioOptsDialog::AudioOptsDialog(wxWindow* parent, wxWindowID id, const wxString
bSizer81->Add(m_textCtrlRxOut, 1, wxALIGN_CENTER_VERTICAL|wxALL, 1);
m_staticText10 = new wxStaticText(m_panelRx, wxID_ANY, _("Sample Rate:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText10->Wrap(-1);
bSizer81->Add(m_staticText10, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer81->Add(m_staticText10, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_cbSampleRateRxOut = new wxComboBox(m_panelRx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(90,-1), 0, NULL, wxCB_DROPDOWN);
bSizer81->Add(m_cbSampleRateRxOut, 0, wxALIGN_CENTER_VERTICAL|wxALL, 1);

Expand Down Expand Up @@ -172,12 +172,12 @@ AudioOptsDialog::AudioOptsDialog(wxWindow* parent, wxWindowID id, const wxString
bSizer83 = new wxBoxSizer(wxHORIZONTAL);
m_staticText12 = new wxStaticText(m_panelTx, wxID_ANY, _("Device:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText12->Wrap(-1);
bSizer83->Add(m_staticText12, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer83->Add(m_staticText12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_textCtrlTxIn = new wxTextCtrl(m_panelTx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
bSizer83->Add(m_textCtrlTxIn, 1, wxALIGN_CENTER_VERTICAL|wxALL, 1);
m_staticText11 = new wxStaticText(m_panelTx, wxID_ANY, _("Sample Rate:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText11->Wrap(-1);
bSizer83->Add(m_staticText11, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer83->Add(m_staticText11, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_cbSampleRateTxIn = new wxComboBox(m_panelTx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(90,-1), 0, NULL, wxCB_DROPDOWN);
bSizer83->Add(m_cbSampleRateTxIn, 0, wxALL, 1);

Expand Down Expand Up @@ -206,7 +206,7 @@ AudioOptsDialog::AudioOptsDialog(wxWindow* parent, wxWindowID id, const wxString
bSizer82->Add(m_textCtrlTxOut, 1, wxALIGN_CENTER_VERTICAL|wxALL, 1);
m_staticText71 = new wxStaticText(m_panelTx, wxID_ANY, _("Sample Rate:"), wxDefaultPosition, wxDefaultSize, 0);
m_staticText71->Wrap(-1);
bSizer82->Add(m_staticText71, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5);
bSizer82->Add(m_staticText71, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_cbSampleRateTxOut = new wxComboBox(m_panelTx, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(90,-1), 0, NULL, wxCB_DROPDOWN);
bSizer82->Add(m_cbSampleRateTxOut, 0, wxALL, 1);

Expand Down
8 changes: 4 additions & 4 deletions src/dlg_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ FilterDlg::FilterDlg(wxWindow* parent, bool running, bool *newMicInFilter, bool

// Spectrum Plots -----------------------------------------------------------

long nb_style = wxAUI_NB_BOTTOM | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS;
long nb_style = wxNB_BOTTOM;
m_auiNotebook = new AuiNotebookNoKbd(this, wxID_ANY, wxDefaultPosition, wxSize(-1,200), nb_style);
m_auiNotebook->SetFont(wxFont(8, 70, 90, 90, false, wxEmptyString));

Expand Down Expand Up @@ -261,7 +261,7 @@ void FilterDlg::newLPCPFControl(wxSlider **slider, wxStaticText **stValue, wxSiz
wxBoxSizer *bs = new wxBoxSizer(wxHORIZONTAL);

wxStaticText* st = new wxStaticText(this, wxID_ANY, controlName, wxDefaultPosition, wxSize(70,-1), wxALIGN_RIGHT);
bs->Add(st, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 2);
bs->Add(st, 0, wxALIGN_CENTER_VERTICAL|wxALL, 2);

*slider = new wxSlider(this, wxID_ANY, 0, 0, SLIDER_MAX, wxDefaultPosition, wxSize(SLIDER_LENGTH,wxDefaultCoord));
bs->Add(*slider, 1, wxALIGN_CENTER_VERTICAL|wxALL, 2);
Expand All @@ -275,13 +275,13 @@ void FilterDlg::newLPCPFControl(wxSlider **slider, wxStaticText **stValue, wxSiz
void FilterDlg::newEQControl(wxSlider** slider, wxStaticText** value, wxStaticBoxSizer *bs, wxString controlName)
{
wxStaticText* label = new wxStaticText(this, wxID_ANY, controlName, wxDefaultPosition, wxDefaultSize, wxALIGN_RIGHT);
bs->Add(label, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 0);
bs->Add(label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

*slider = new wxSlider(this, wxID_ANY, 0, 0, SLIDER_MAX, wxDefaultPosition, wxSize(SLIDER_LENGTH,wxDefaultCoord));
bs->Add(*slider, 1, wxALIGN_CENTER_VERTICAL|wxALL, 0);

*value = new wxStaticText(this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(40,-1), wxALIGN_LEFT);
bs->Add(*value, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxRIGHT, 5);
bs->Add(*value, 0, wxALIGN_CENTER_VERTICAL, 5);
}

EQ FilterDlg::newEQ(wxSizer *bs, wxString eqName, float maxFreqHz, bool enableQ)
Expand Down
10 changes: 5 additions & 5 deletions src/dlg_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ typedef struct {
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
// Class AuiNotebookNoKbd
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
class AuiNotebookNoKbd : public wxAuiNotebook
class AuiNotebookNoKbd : public wxNotebook
{
// This class inherits from wxAuiNotebook, and the only difference between
// This class inherits from wxNotebook, and the only difference between
// it and the wx notebook is functionality to ignore tabbing to it. This
// is a control with no user input, thus blind hams have no reason to tab
// to it.
public:

AuiNotebookNoKbd(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition,
const wxSize &size=wxDefaultSize, long style=wxAUI_NB_DEFAULT_STYLE) :
wxAuiNotebook(parent, id, pos, size, style) {;}
const wxSize &size=wxDefaultSize, long style=0) :
wxNotebook(parent, id, pos, size, style) {;}

bool AcceptsFocusFromKeyboard() const { return false; }
};
Expand All @@ -71,7 +71,7 @@ class FilterDlg : public wxDialog
public:
FilterDlg( wxWindow* parent, bool running, bool *newMicInFilter, bool *newSpkOutFilter,
wxWindowID id = wxID_ANY, const wxString& title = _("Filter"),
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800, 630 ),
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800, 675 ),
long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~FilterDlg();

Expand Down
30 changes: 15 additions & 15 deletions src/dlg_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c

m_txtCtrlCallSign = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_txtCtrlCallSign->SetToolTip(_("Txt Msg you can send along with Voice"));
sbSizer_callSign->Add(m_txtCtrlCallSign, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 3);
sbSizer_callSign->Add(m_txtCtrlCallSign, 0, wxALL|wxEXPAND, 3);

bSizer30->Add(sbSizer_callSign,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_callSign,0, wxALL|wxEXPAND, 3);

//----------------------------------------------------------------------
// Voice Keyer
Expand Down Expand Up @@ -91,7 +91,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
m_txtCtrlVoiceKeyerRepeats->SetToolTip(_("How long to wait in Rx mode before repeat"));
staticBoxSizer28a->Add(m_txtCtrlVoiceKeyerRepeats, 0, 0, 5);

bSizer30->Add(staticBoxSizer28a,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(staticBoxSizer28a,0, wxALL|wxEXPAND, 3);

//------------------------------
// FreeDV 700 Options
Expand All @@ -113,7 +113,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
m_ckboxFreeDV700ManualUnSync = new wxCheckBox(this, wxID_ANY, _("700D Manual UnSync"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE);
sbSizer_freedv700->Add(m_ckboxFreeDV700ManualUnSync, 0, wxALIGN_LEFT, 0);

bSizer30->Add(sbSizer_freedv700, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_freedv700, 0, wxALL|wxEXPAND, 3);

//------------------------------
// Phase Est Options
Expand All @@ -128,7 +128,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
m_ckboxPhaseEstDPSK = new wxCheckBox(this, wxID_ANY, _("DPSK"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE);
sbSizer_freedvPhaseEst->Add(m_ckboxPhaseEstDPSK, 0, wxALIGN_LEFT, 0);

bSizer30->Add(sbSizer_freedvPhaseEst, 0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_freedvPhaseEst, 0, wxALL|wxEXPAND, 3);

//------------------------------
// Half/Full duplex selection
Expand All @@ -138,7 +138,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
wxStaticBoxSizer* sbSizer_duplex = new wxStaticBoxSizer(sb_duplex, wxHORIZONTAL);
m_ckHalfDuplex = new wxCheckBox(this, wxID_ANY, _("Half Duplex"), wxDefaultPosition, wxSize(-1,-1), 0);
sbSizer_duplex->Add(m_ckHalfDuplex, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);
bSizer30->Add(sbSizer_duplex,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_duplex,0, wxALL|wxEXPAND, 3);

//------------------------------
// Test Frames/Channel simulation check box
Expand All @@ -161,7 +161,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
m_txtAttnCarrier = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(30,-1), 0, wxTextValidator(wxFILTER_DIGITS));
sbSizer_testFrames->Add(m_txtAttnCarrier, 0, wxALIGN_LEFT, 0);

bSizer30->Add(sbSizer_testFrames,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_testFrames,0, wxALL|wxEXPAND, 3);

//------------------------------
// Interfering tone
Expand All @@ -180,7 +180,7 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
m_txtToneAmplitude = new wxTextCtrl(this, wxID_ANY, "1000", wxDefaultPosition, wxSize(60,-1), 0, wxTextValidator(wxFILTER_DIGITS));
sbSizer_tone->Add(m_txtToneAmplitude, 0, wxALIGN_LEFT, 0);

bSizer30->Add(sbSizer_tone,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_tone,0, wxALL|wxEXPAND, 3);

#ifdef __EXPERIMENTAL_UDP__
//------------------------------
Expand Down Expand Up @@ -290,13 +290,13 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
wxStaticBox* sb_udp = new wxStaticBox(this, wxID_ANY, _("UDP Messages"));
sbSizer_udp = new wxStaticBoxSizer(sb_udp, wxHORIZONTAL);
m_ckbox_udp_enable = new wxCheckBox(this, wxID_ANY, _("Enable UDP Messages UDP Port Number:"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE);
sbSizer_udp->Add(m_ckbox_udp_enable, 0, wxALIGN_CENTER_HORIZONTAL, 5);
sbSizer_udp->Add(m_ckbox_udp_enable, 0, 0, 5);
m_txt_udp_port = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(50,-1), 0, wxTextValidator(wxFILTER_DIGITS));
sbSizer_udp->Add(m_txt_udp_port, 0, wxALIGN_CENTER_HORIZONTAL, 5);
sbSizer_udp->Add(m_txt_udp_port, 0, 0, 5);
m_btn_udp_test = new wxButton(this, wxID_ANY, _("Test"), wxDefaultPosition, wxDefaultSize, 0);
sbSizer_udp->Add(m_btn_udp_test, 0, wxALIGN_LEFT, 5);

bSizer30->Add(sbSizer_udp,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_udp,0, wxALL|wxEXPAND, 3);

//----------------------------------------------------------
// FIFO and PortAudio under/overflow counters used for debug
Expand Down Expand Up @@ -345,14 +345,14 @@ OptionsDlg::OptionsDlg(wxWindow* parent, wxWindowID id, const wxString& title, c
// text lines with fifo counters

m_textPA1 = new wxStaticText(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
sbSizer_fifo->Add(m_textPA1, 0, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, 1);
sbSizer_fifo->Add(m_textPA1, 0, wxALIGN_LEFT, 1);
m_textPA2 = new wxStaticText(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
sbSizer_fifo->Add(m_textPA2, 0, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, 1);
sbSizer_fifo->Add(m_textPA2, 0, wxALIGN_LEFT, 1);

m_textFifos = new wxStaticText(this, wxID_ANY, wxT(""), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
sbSizer_fifo->Add(m_textFifos, 0, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, 1);
sbSizer_fifo->Add(m_textFifos, 0, wxALIGN_LEFT, 1);

bSizer30->Add(sbSizer_fifo,0, wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND, 3);
bSizer30->Add(sbSizer_fifo,0, wxALL|wxEXPAND, 3);

//------------------------------
// OK - Cancel - Apply Buttons
Expand Down
Loading

0 comments on commit 4d14643

Please sign in to comment.