#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;
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
- const wxString& name = wxNOTEBOOK_NAME)
+ const wxString& name = wxNotebookNameStr)
{
Init();
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
- const wxString& name = wxNOTEBOOK_NAME);
+ const wxString& name = wxNotebookNameStr);
// dtor
virtual ~wxNotebook();
// --------------------------------------
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;