]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/dialog.cpp
destroy the old clipping region before setting the new one (part of patch 1716763)
[wxWidgets.git] / src / univ / dialog.cpp
index 32feb90cac49d5de9ae809f9e58efda5d5b7917d..50fa18cacf695e125946afb6e7e58727a9f79129 100644 (file)
@@ -21,8 +21,9 @@
     #pragma hdrstop
 #endif
 
+#include "wx/dialog.h"
+
 #ifndef WX_PRECOMP
-    #include "wx/dialog.h"
     #include "wx/utils.h"
     #include "wx/app.h"
 #endif
@@ -214,7 +215,7 @@ void wxDialog::EndModal(int retCode)
     }
 
     m_isShowingModal = false;
-    
+
     m_eventLoop->Exit();
 
     Show(false);