]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
added missing -univ package control files.
[wxWidgets.git] / src / msw / window.cpp
index db1345a74e6c57299121282cf35ebaf1e2bd7552..aa47fded2486d711cec8e44735bb57d271958413 100644 (file)
@@ -330,9 +330,9 @@ wxWindowMSW::~wxWindowMSW()
         wxFrame *frame = wxDynamicCast(win, wxFrame);
         if ( frame )
         {
-            if ( frameMSW->GetLastFocus() == this )
+            if ( frame->GetLastFocus() == this )
             {
-                frameMSW->SetLastFocus((wxWindow*)NULL);
+                frame->SetLastFocus((wxWindow*)NULL);
             }
             break;
         }
@@ -2868,8 +2868,7 @@ bool wxWindowMSW::MSWCreate(int id,
 
         if ( !m_hWnd )
         {
-            wxLogError(_("Can't create window of class %s!\nPossible Windows 3.x compatibility problem?"),
-                       wclass);
+            wxLogSysError(_("Can't create window of class %s"), wclass);
 
             return FALSE;
         }