X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03206f17a616c02f7c5349c066917809b64106ea..a6f4dbbd86b54c720bdeab1aea1fad5eb3f030e6:/contrib/samples/fl/fl_demo1.h diff --git a/contrib/samples/fl/fl_demo1.h b/contrib/samples/fl/fl_demo1.h index 384c6ca987..2a1bc1eb06 100644 --- a/contrib/samples/fl/fl_demo1.h +++ b/contrib/samples/fl/fl_demo1.h @@ -43,7 +43,7 @@ public: MyFrame(wxFrame *frame); virtual ~MyFrame(); - bool OnClose(void) { Show(FALSE); return TRUE; } + bool OnClose(void) { Show(false); return true; } void OnLoad( wxCommandEvent& event ); void OnSave( wxCommandEvent& event ); @@ -52,6 +52,7 @@ public: DECLARE_EVENT_TABLE() }; +#if wxUSE_STATLINE /* * Quick example of your own Separator class... */ @@ -69,6 +70,7 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); }; +#endif // wxUSE_STATLINE #endif