Manager: remove deprecated wxWidgets flags

wxADJUST_MINSIZE was deprected with 2.6 and wxNB_FLAT was only used in 3.0 on Windows CE
This commit is contained in:
Christian Beer 2019-02-09 13:11:56 +01:00
parent 8e9665643c
commit bbceb19b96
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
#endif
#define DEFAULT_TASK_FLAGS wxTAB_TRAVERSAL | wxADJUST_MINSIZE | wxFULL_REPAINT_ON_RESIZE
#define DEFAULT_TASK_FLAGS wxTAB_TRAVERSAL | wxFULL_REPAINT_ON_RESIZE
#define DEFAULT_LIST_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_HRULES
class CBOINCTaskCtrl;

View File

@ -137,7 +137,7 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri
wxBoxSizer* notebookSizer = new wxBoxSizer( wxVERTICAL );
m_Notebook = new wxNotebook( m_panelControls, ID_DEFAULT, wxDefaultPosition, wxDefaultSize, wxNB_FLAT|wxNB_TOP );
m_Notebook = new wxNotebook( m_panelControls, ID_DEFAULT, wxDefaultPosition, wxDefaultSize, wxNB_TOP );
m_Notebook->SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY );
wxImageList* pImageList = new wxImageList(ADJUSTFORXDPI(16), ADJUSTFORYDPI(16), true, 0);