]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gdiobj.cpp
don't call SelectObject() twice in SetBrush() nor SetFont() neither
[wxWidgets.git] / src / gtk / gdiobj.cpp
index fe9fc047c7dcff90632ceb1f08062504a894260f..63a3ca364ca9d70792b4cb8810d68db69bea72da 100644 (file)
@@ -3,17 +3,15 @@
 // Purpose:     wxGDIObject class
 // Author:      Julian Smart
 // RCS-ID:      $Id$
-// Copyright:   (c) Julian Smart and Markus Holzem
+// Copyright:   (c) Julian Smart
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "gdiobj.h"
 #endif
 
 #include "wx/gdiobj.h"
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
-#endif