]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dialog.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / mac / dialog.cpp
index 304fbb915b46e17f0ea31e8395121483a879c0cf..d0068bc4516506fb96484f2aa1310485957b888f 100644 (file)
@@ -369,6 +369,13 @@ void wxDialog::OnCancel(wxCommandEvent& event)
     }
 }
 
+void wxDialog::OnPaint(wxPaintEvent& event)
+{
+  // No: if you call the default procedure, it makes
+  // the following painting code not work.
+//  wxWindow::OnPaint(event);
+}
+
 void wxDialog::OnCloseWindow(wxCloseEvent& event)
 {
     // We'll send a Cancel message by default,