]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
don't use a floating point value as a boolean flag; gcc4 (correctly) complains when...
[wxWidgets.git] / include / wx / choicebk.h
index dadd5f4be7109b11deaef084befcf7a3b6a75166..2d86b96965693080d7b7df31aa6237210d9ad1df 100644 (file)
 #ifndef _WX_CHOICEBOOK_H_
 #define _WX_CHOICEBOOK_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "choicebook.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_CHOICEBOOK
@@ -76,6 +72,9 @@ public:
 
     virtual bool DeleteAllPages();
 
+    // returns the choice control
+    wxChoice* GetChoiceCtrl() const { return m_choice; }
+
 protected:
     virtual wxWindow *DoRemovePage(size_t page);