]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toplevel.cpp
Fix wxULongLongNative::ToDouble() compilation with VC6.
[wxWidgets.git] / src / msw / toplevel.cpp
index 07496bff06cbb59a7b643d608d41dace6811276c..7ece1c72c971b5a76ed4cc3d696e17bee6b7f02a 100644 (file)
@@ -1014,6 +1014,7 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style)
 
         // finally send an event allowing the window to relayout itself &c
         wxSizeEvent event(rect.GetSize(), GetId());
+        event.SetEventObject(this);
         HandleWindowEvent(event);
     }
     else // stop showing full screen