]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_demo1.h
wxString and wxChar* access for file functions. Source cleaning.
[wxWidgets.git] / contrib / samples / fl / fl_demo1.h
index 384c6ca987faba6cbed364ac445221a9f5a5e939..2a1bc1eb06bfa959d0ebf6f415a9d0a95dcaccbe 100644 (file)
@@ -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