X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/630ad6c6b620b4c24cd5b720b610b539e2770d60..f644bc116bbe46d6ab609a44c05835dc4d87ba02:/include/wx/univ/notebook.h?ds=sidebyside diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 4ef1065d3e..43e2d4ce9d 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_NOTEBOOK_H_ #define _WX_UNIV_NOTEBOOK_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "univnotebook.h" -#endif - #include "wx/arrstr.h" class WXDLLEXPORT wxSpinButton; @@ -68,7 +64,7 @@ public: // -------------------------------------- virtual int SetSelection(size_t nPage); - virtual int GetSelection() const { return m_sel; } + virtual int GetSelection() const { return (int) m_sel; } virtual bool SetPageText(size_t nPage, const wxString& strText); virtual wxString GetPageText(size_t nPage) const;