]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
Don't know if this is right but it fixes a compile error...
[wxWidgets.git] / src / univ / notebook.cpp
index c97f7189b8a06f9403bcacf328f704cf83cae201..2b9e19f9ffc4e9bb1f903782ed41a8eeaf0c988d 100644 (file)
@@ -144,7 +144,7 @@ bool wxNotebook::Create(wxWindow *parent,
 
 wxString wxNotebook::GetPageText(size_t nPage) const
 {
-    wxCHECK_MSG( IS_VALID_PAGE(nPage), _T(""), _T("invalid notebook page") );
+    wxCHECK_MSG( IS_VALID_PAGE(nPage), wxEmptyString, _T("invalid notebook page") );
 
     return m_titles[nPage];
 }
@@ -1253,7 +1253,7 @@ void wxNotebook::ScrollLastTo(int page)
 wxSize wxNotebook::DoGetBestClientSize() const
 {
     // calculate the max page size
-    wxSize size(0, 0);
+    wxSize size;
 
     size_t count = GetPageCount();
     if ( count )