X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df7145da50005a9f512d8f3329b6ed2166e956d0..29020b904885483adb428cbaf7aa30077f7c0cf2:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index b26643862e..4fd14d30da 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -40,14 +40,14 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxNOTEBOOK_NAME); // Create() function bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = "notebook"); + const wxString& name = wxNOTEBOOK_NAME); // accessors // --------- @@ -133,10 +133,8 @@ protected: // remove one page from the notebook, without deleting virtual wxNotebookPage *DoRemovePage(int nPage); - // helper functions - void ChangePage(int nOldSel, int nSel); // change pages - - int m_nSelection; // the current selection (-1 if none) + // the current selection (-1 if none) + int m_nSelection; DECLARE_DYNAMIC_CLASS(wxNotebook) DECLARE_EVENT_TABLE()