]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.h
don't preselect the first item if the array with the initial selections is empty...
[wxWidgets.git] / samples / widgets / widgets.h
index d05402ecd26076f1b5a249a3da43c87612d84926..f9e2e6d4325c167fae70e1419e7d923738aef86b 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Program:     wxWindows Widgets Sample
+// Program:     wxWidgets Widgets Sample
 // Name:        widgets.h
 // Purpose:     Common stuff for all widgets project files
 // Author:      Vadim Zeitlin
@@ -82,6 +82,8 @@ public:
     Constructor GetCtor() const { return m_ctor; }
     WidgetsPageInfo *GetNext() const { return m_next; }
 
+    void SetNext(WidgetsPageInfo *next) { m_next = next; }
+
 private:
     // the label of the page
     wxString m_label;