X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d96cdd4a885886d1c76c6f4cb1a7eefba34b3d10..fbe2ca438b746a509ca04c456166b984650ecaac:/contrib/samples/fl/fl_demo1.cpp diff --git a/contrib/samples/fl/fl_demo1.cpp b/contrib/samples/fl/fl_demo1.cpp index e0c08532d1..30f4b8d514 100644 --- a/contrib/samples/fl/fl_demo1.cpp +++ b/contrib/samples/fl/fl_demo1.cpp @@ -219,7 +219,9 @@ MyFrame::MyFrame(wxFrame *frame) 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") ); @@ -243,6 +245,7 @@ MyFrame::~MyFrame() } #define LINE_SIZE 3 +#if wxUSE_STATLINE void wxMySeparatorLine::DoSetSize( int x, int y, int width, int height, int sizeFlags) @@ -260,3 +263,4 @@ void wxMySeparatorLine::DoSetSize( int x, int y, wxStaticLine::DoSetSize(x, y, width, height, sizeFlags); } +#endif // wxUSE_STATLINE