]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
Added wxAbort() which can also be used under Windows CE.
[wxWidgets.git] / include / wx / choicebk.h
index 4eb0652e81a9cb593b572ae12c0729014cf00381..0539b353dd6be41edf040eb0d359650137f19b9e 100644 (file)
@@ -68,7 +68,7 @@ public:
                             wxWindow *page,
                             const wxString& text,
                             bool bSelect = false,
-                            int imageId = -1);
+                            int imageId = NO_IMAGE);
     virtual int SetSelection(size_t n)
         { return DoSetSelection(n, SetSelection_SendEvent); }
     virtual int ChangeSelection(size_t n) { return DoSetSelection(n); }
@@ -79,6 +79,11 @@ public:
     // returns the choice control
     wxChoice* GetChoiceCtrl() const { return (wxChoice*)m_bookctrl; }
 
+    // Override this to return true because the part of parent window
+    // background between our controlling wxChoice and the page area should
+    // show through.
+    virtual bool HasTransparentBackground() { return true; }
+
 protected:
     virtual void DoSetWindowVariant(wxWindowVariant variant);