git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14983
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
buttonsizer->Add( butNewDir, 0, wxALL, 5 );
#endif
buttonsizer->Add( butNewDir, 0, wxALL, 5 );
+#ifdef __WXX11__
+ mainsizer->Add( buttonsizer, 0, wxALL | wxEXPAND, 0 );
+#else
mainsizer->Add( buttonsizer, 0, wxALL | wxEXPAND, 5 );
mainsizer->Add( buttonsizer, 0, wxALL | wxEXPAND, 5 );
wxBoxSizer *staticsizer = new wxBoxSizer( wxHORIZONTAL );
wxBoxSizer *staticsizer = new wxBoxSizer( wxHORIZONTAL );
staticsizer->Add( new wxStaticText( this, -1, _("Current directory:") ), 0, wxRIGHT, 10 );
staticsizer->Add( new wxStaticText( this, -1, _("Current directory:") ), 0, wxRIGHT, 10 );
m_static = new wxStaticText( this, -1, m_dir );
staticsizer->Add( m_static, 1 );
mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 );
m_static = new wxStaticText( this, -1, m_dir );
staticsizer->Add( m_static, 1 );
mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 );