]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/toplevel.cpp
cvs to svn
[wxWidgets.git] / src / mgl / toplevel.cpp
index a4f10c308cf355f18ea62c531e7277c9f0cc9378..ebb4bacd10802d58d6bfb6c2a681587014551521 100644 (file)
@@ -155,7 +155,7 @@ bool wxTopLevelWindowMGL::Show(bool show)
         GetEventHandler()->ProcessEvent(event);
     }
 
-    if ( ret && show && AcceptsFocus() )
+    if ( ret && show && CanAcceptFocus() )
         SetFocus();
         // FIXME_MGL -- don't do this for popup windows?
     return ret;