]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/fl/fl_demo1/fl_demo1.h
synthetize 'button up' event before doubleclick, too
[wxWidgets.git] / contrib / samples / fl / fl_demo1 / fl_demo1.h
index 8b0d02ffabaea3d4aa1d4775b9dde5a57721827a..13ba9d4dc6cf13f8da5e13d440483844b1b8f619 100644 (file)
@@ -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