]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.h
Initialize m_privData before doign the assignment
[wxWidgets.git] / samples / widgets / widgets.h
index 6c45ee11ff5d1a595f09f22491cd0bbbe5778df1..30160829e8183a4aef6ce844c9b0d1991972a1f4 100644 (file)
@@ -42,6 +42,9 @@ public:
     // return the control shown by this page
     virtual wxControl *GetWidget() const = 0;
 
+    // some pages show 2 controls, in this case override this one as well
+    virtual wxControl *GetWidget2() const { return NULL; }
+
 protected:
     // several helper functions for page creation