X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e08b761b0c5ecb6df295785b78f1f3637331887..60df0f96859fb0131ddfa8b477612a15f4a43790:/contrib/samples/fl/fl_demo1/fl_demo1.h diff --git a/contrib/samples/fl/fl_demo1/fl_demo1.h b/contrib/samples/fl/fl_demo1/fl_demo1.h index 8b0d02ffab..13ba9d4dc6 100644 --- a/contrib/samples/fl/fl_demo1/fl_demo1.h +++ b/contrib/samples/fl/fl_demo1/fl_demo1.h @@ -21,6 +21,7 @@ #define NEW_TEST_EXIT 1103 #include "wx/panel.h" +#include "wx/statline.h" // Define a new application type class MyApp: public wxApp @@ -51,5 +52,23 @@ public: DECLARE_EVENT_TABLE() }; +/* + * Quick example of your own Separator class... + */ +class wxMySeparatorLine : public wxStaticLine +{ +public: + wxMySeparatorLine() + {} + wxMySeparatorLine( wxWindow *parent, wxWindowID id) + : wxStaticLine( parent, id) + {} + +protected: + virtual void DoSetSize( int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); +}; + #endif