wxMSWUniv build fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 18 Jul 2005 13:36:31 +0000 (13:36 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 18 Jul 2005 13:36:31 +0000 (13:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/evtloop.h
src/msw/evtloop.cpp

index eec606477b2f195ea2d17dcf9487c4417f110305..a5c7720028aefcc2142558a48eece8c9e8568733 100644 (file)
@@ -44,11 +44,11 @@ public:
     //
     // calling this function with NULL argument restores the normal event
     // handling
-    static void SetCriticalWindow(wxWindow *win) { ms_winCritical = win; }
+    static void SetCriticalWindow(wxWindowMSW *win) { ms_winCritical = win; }
 
     // return true if there is no critical window or if this window is [a child
     // of] the critical one
-    static bool AllowProcessing(wxWindow *win)
+    static bool AllowProcessing(wxWindowMSW *win)
     {
         return !ms_winCritical || IsChildOfCriticalWindow(win);
     }
@@ -56,11 +56,11 @@ public:
 protected:
     // check if the given window is a child of ms_winCritical (which must be
     // non NULL)
-    static bool IsChildOfCriticalWindow(wxWindow *win);
+    static bool IsChildOfCriticalWindow(wxWindowMSW *win);
 
 
     // critical window or NULL
-    static wxWindow *ms_winCritical;
+    static wxWindowMSW *ms_winCritical;
 
     // the loop exit code
     int m_exitcode;
index f87129486a5b92169c621ba8cad708030446773a..6534242141f3c43eb41bec918ba07d650e146124 100644 (file)
@@ -85,7 +85,7 @@ private:
 // ============================================================================
 
 wxEventLoop *wxEventLoopBase::ms_activeLoop = NULL;
-wxWindow *wxEventLoop::ms_winCritical = NULL;
+wxWindowMSW *wxEventLoop::ms_winCritical = NULL;
 
 // ----------------------------------------------------------------------------
 // ctor/dtor
@@ -112,7 +112,7 @@ void wxEventLoop::ProcessMessage(WXMSG *msg)
     }
 }
 
-bool wxEventLoop::IsChildOfCriticalWindow(wxWindow *win)
+bool wxEventLoop::IsChildOfCriticalWindow(wxWindowMSW *win)
 {
     while ( win )
     {