X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..9b4fd94a4aab355ce9cd0eb2c66e0398612850fc:/src/msw/minifram.cpp

diff --git a/src/msw/minifram.cpp b/src/msw/minifram.cpp
index 5180dd713d..ee9c1f95f9 100644
--- a/src/msw/minifram.cpp
+++ b/src/msw/minifram.cpp
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "minifram.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -20,10 +16,10 @@
 #pragma hdrstop
 #endif
 
-#ifndef WX_PRECOMP
-#endif
+#if wxUSE_MINIFRAME
 
 #include "wx/minifram.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
 
+#endif // wxUSE_MINIFRAME