Fixed a compiler warning: -Wreorder

This commit is contained in:
Zane U. Ji 2013-12-13 23:43:06 +08:00
parent 486ddb4829
commit e2e1b08a1a
1 changed files with 3 additions and 3 deletions

View File

@ -49,17 +49,17 @@ MyPropertySheet::MyPropertySheet (
long style long style
) )
: wxPropertySheetDialog ( parent, id, title, position, size, style ) : wxPropertySheetDialog ( parent, id, title, position, size, style )
, lang ( lang )
, properties ( propertiesParameter ) , properties ( propertiesParameter )
, applicationDir ( applicationDirParameter ) , applicationDir ( applicationDirParameter )
, singleInstanceCheck ( singleInstanceCheckParameter )
, rememberOpenTabs ( rememberOpenTabsParameter ) , rememberOpenTabs ( rememberOpenTabsParameter )
, libxmlNetAccess ( libxmlNetAccessParameter ) , libxmlNetAccess ( libxmlNetAccessParameter )
, singleInstanceCheck ( singleInstanceCheckParameter )
, saveBom ( saveBomParameter ) , saveBom ( saveBomParameter )
, unlimitedUndo ( unlimitedUndoParameter ) , unlimitedUndo ( unlimitedUndoParameter )
, restoreLayout ( restoreLayoutParameter ) , restoreLayout ( restoreLayoutParameter )
, expandInternalEntities ( expandInternalEntitiesParameter ) , expandInternalEntities ( expandInternalEntitiesParameter )
, showFullPathOnFrame ( showFullPathOnFrameParameter ) , showFullPathOnFrame ( showFullPathOnFrameParameter )
, lang ( lang )
{ {
CreateButtons ( wxOK | wxCANCEL ); CreateButtons ( wxOK | wxCANCEL );
@ -251,7 +251,7 @@ MyPropertySheet::~MyPropertySheet()
void MyPropertySheet::OnOk ( wxCommandEvent& e ) void MyPropertySheet::OnOk ( wxCommandEvent& e )
{ {
wxString testDir = applicationDirEdit->GetValue(); wxString testDir = applicationDirEdit->GetValue();
if ( !wxFileName::DirExists ( testDir ) ) if ( !wxDirExists ( testDir ) )
{ {
wxMessageBox ( _ ( "Cannot access application directory" ), _ ( "Options" ) ); wxMessageBox ( _ ( "Cannot access application directory" ), _ ( "Options" ) );
// tbd: show general tab // tbd: show general tab