frame->SetMenuBar(menu_bar);
+#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
+#endif // wxUSE_STATUSBAR
frame->Show(true);
pToolBar->AddSeparator();
pToolBar->AddTool( 1002, wxString(wxT(BMP_DIR)) + wxT("open.bmp") );
pToolBar->AddTool( 1003, wxString(wxT(BMP_DIR)) + wxT("save.bmp") );
+#if wxUSE_STATLINE
pToolBar->AddSeparator(new wxMySeparatorLine(pToolBar, wxID_ANY));
+#endif // wxUSE_STATLINE
pToolBar->AddTool( 1004, wxString(wxT(BMP_DIR)) + wxT("cut.bmp") );
pToolBar->AddTool( 1005, wxString(wxT(BMP_DIR)) + wxT("copy.bmp") );
pToolBar->AddTool( 1006, wxString(wxT(BMP_DIR)) + wxT("paste.bmp") );
}
#define LINE_SIZE 3
+#if wxUSE_STATLINE
void wxMySeparatorLine::DoSetSize( int x, int y,
int width, int height,
int sizeFlags)
wxStaticLine::DoSetSize(x, y, width, height, sizeFlags);
}
+#endif // wxUSE_STATLINE