X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/874cc42557bea53e2e503a7d1978e84a4a8034d3..46ae103b9f08fc4e447d16a6a92b03cf55ee3189:/wxPython/src/_notebook.i diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index 3ab924fe1c..472cd23e74 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -251,7 +251,7 @@ class NotebookPage(wx.Panel): """ There is an old (and apparently unsolvable) bug when placing a window with a nonstandard background colour in a wx.Notebook on - wxGTK, as the notbooks's background colour would always be used + wxGTK1, as the notbooks's background colour would always be used when the window is refreshed. The solution is to place a panel in the notbook and the coloured window on the panel, sized to cover the panel. This simple class does that for you, just put an @@ -388,7 +388,10 @@ public: // returns true if we have wxCHB_TOP or wxCHB_BOTTOM style - bool IsVertical() const { return HasFlag(wxCHB_BOTTOM | wxCHB_TOP); } + bool IsVertical() const; + + // returns the choice control + wxChoice* GetChoiceCtrl() const; virtual bool DeleteAllPages(); };