]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toplevel.cpp
Applied patch [ 666379 ] CalCtrl doesn't use best sizes for the year combobox
[wxWidgets.git] / src / motif / toplevel.cpp
index b0180f7a8bd23c1392c7bb939034eaf987cdf01c..67ad48ed5d258bf561f7c31a46d6af68e638f5cf 100644 (file)
@@ -87,7 +87,7 @@ wxTopLevelWindowMotif::~wxTopLevelWindowMotif()
     SetMainWidget( (WXWidget)0 );
 
     // If this is the last top-level window, exit.
-    if (wxTheApp && (wxTopLevelWindows.Number() == 0))
+    if (wxTheApp && (wxTopLevelWindows.GetCount() == 0))
     {
         wxTheApp->SetTopWindow(NULL);
 
@@ -249,7 +249,7 @@ WXWidget wxTopLevelWindowMotif::GetShellWidget() const
 }
 
 bool wxTopLevelWindowMotif::ShowFullScreen( bool show,
-                                            long style = wxFULLSCREEN_ALL )
+                                            long style )
 {
     // TODO, see wxGTK
     return FALSE;
@@ -271,7 +271,7 @@ void wxTopLevelWindowMotif::Restore()
                        NULL );
 }
 
-void wxTopLevelWindowMotif::Iconize( bool iconize = TRUE )
+void wxTopLevelWindowMotif::Iconize( bool iconize )
 {
     Widget shell = GetShell( this );
     if( !shell ) return;
@@ -299,7 +299,7 @@ bool wxTopLevelWindowMotif::IsIconized() const
     return iconic;
 }
 
-void wxTopLevelWindowMotif::Maximize( bool maximize = TRUE )
+void wxTopLevelWindowMotif::Maximize( bool maximize )
 {
     Show( TRUE );