]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
fix missing int return type
[wxWidgets.git] / src / common / toplvcmn.cpp
index 97821d0d69fc28730e0edb7376426673a4125224..45ad2fc6fb5a7d9328eb7a149f46060b234f1ddd 100644 (file)
@@ -173,22 +173,6 @@ void wxTopLevelWindowBase::GetRectForTopLevelChildren(int *x, int *y, int *w, in
     GetSize(w,h);
 }
 
-wxSize wxTopLevelWindowBase::GetMaxSize() const
-{
-    wxSize size = wxWindow::GetMaxSize();
-
-    int w, h;
-    wxClientDisplayRect(NULL, NULL, &w, &h );
-
-    if ( size.GetWidth() == wxDefaultCoord )
-        size.SetWidth(w);
-
-    if ( size.GetHeight() == wxDefaultCoord )
-        size.SetHeight(h);
-
-    return size;
-}
-
 /* static */
 wxSize wxTopLevelWindowBase::GetDefaultSize()
 {