]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / dialog.cpp
index 8c9b2a8d3efd44226ca1ce1befca6b3d5e47458e..67144e1bba6e710e3993d41fc31ec51720722807 100644 (file)
@@ -462,7 +462,7 @@ WXLRESULT wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lPar
     }
 
     if ( !processed )
-        rc = wxWindow::MSWWindowProc(message, wParam, lParam);
+        rc = wxDialogBase::MSWWindowProc(message, wParam, lParam);
 
     return rc;
 }