]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/clipbrd.cpp
use correct way to get a pointer to vector elements in DoGetPartialTextExtents()
[wxWidgets.git] / src / mgl / clipbrd.cpp
index ae9430e41df420c0eb4aeabe69dc79a3db039687..f7d22875102183f3ddcd880e30cdc46f3f4eac97 100644 (file)
@@ -7,10 +7,17 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "clipbrd.h"
 #endif
 
 #pragma implementation "clipbrd.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
 #include "wx/clipbrd.h"
 
 #if wxUSE_CLIPBOARD
 #include "wx/clipbrd.h"
 
 #if wxUSE_CLIPBOARD