]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/notebook.h
added wx_truncate_cast and use it (sometimes instead of wx_static_cast) to explicitel...
[wxWidgets.git] / include / wx / univ / notebook.h
index 4ef1065d3ebeab3a868b8d051124d5b9ecf22f8d..606e297b6f2b6cd23aaece9000b3a9bdc5f40c0e 100644 (file)
@@ -68,7 +68,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;