X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88609ec9a8421a783bb92ad0eddf4ef3ddc4350e..2091f5e71a1d04cf9277565121725f764d466a06:/wxPython/src/_notebook.i diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index 0745aab834..1d9565a555 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 @@ -416,7 +416,7 @@ public: %newgroup; // WXWIN_COMPATIBILITY_2_4 - +#if 0 class wxBookCtrlSizer: public wxSizer { public: @@ -443,6 +443,6 @@ public: %pythoncode { NotebookSizer.__init__ = wx._deprecated(NotebookSizer.__init__, "NotebookSizer is no longer needed.") } %pythoncode { BookCtrlSizer.__init__ = wx._deprecated(BookCtrlSizer.__init__, "BookCtrlSizer is no longer needed.") } - +#endif //---------------------------------------------------------------------------