]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/resource.h
minValue and maxValue are interpreted correctly in SetRange() (were inversed)
[wxWidgets.git] / samples / resource / resource.h
index c30572165e691b0486355e905701f857b38c6007..39c46068c9a6d8d155d171abacbd4439c4f291f2 100644 (file)
@@ -21,6 +21,16 @@ class MyApp: public wxApp
     bool OnInit(void);
 };
 
+class MyPanel: public wxPanel
+{
+  public:
+    MyPanel( wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
+             int style, const wxString &name );
+    void OnClick(wxMouseEvent &event);
+
+ DECLARE_EVENT_TABLE()
+};
+
 class MyFrame: public wxFrame
 {
   public: