]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/gizmos/dynamicsash.cpp
check for wxUSE_MDI which is needed by this code (patch 1656080)
[wxWidgets.git] / contrib / src / gizmos / dynamicsash.cpp
index 137d00cc4e2fdc5970f418c8175f2247c490ffae..527f103cdd9dd5a6bdfc2b885c18761febf12266 100644 (file)
@@ -13,6 +13,8 @@
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
+#if !wxUSE_MDI
+
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
@@ -1469,3 +1471,4 @@ wxDynamicSashReparentEvent::wxDynamicSashReparentEvent(const wxDynamicSashRepare
 
 IMPLEMENT_DYNAMIC_CLASS(wxDynamicSashReparentEvent, wxEvent)
 
+#endif  // !wxUSE_MDI
\ No newline at end of file