]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/resource.h
wxString(const wxString& str, size_t position, size_t len) ctor now doesn't
[wxWidgets.git] / samples / resource / resource.h
index c30572165e691b0486355e905701f857b38c6007..9111d6caf002112d953e4dbdf02ffd0f6088d1a1 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:
@@ -45,5 +55,7 @@ class MyDialog : public wxDialog
 #define RESOURCE_QUIT       4
 #define RESOURCE_TEST1      2
 
+/*
 #define RESOURCE_OK         1
 #define RESOURCE_CANCEL     2
+*/