]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/stattextg.h
rename gsockmsw files to sockmsw
[wxWidgets.git] / include / wx / generic / stattextg.h
index 69ef8b08f6408dd6b887e5f73dd13f44c65d36d4..ef225e12b2c8145e4a99e6740be7f14a2cbfeb5d 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     wxGenericStaticText header
 // Author:      Marcin Wojdyr
 // Created:     2008-06-26
-// Id:          $Id:$
+// Id:          $Id$
 // Copyright:   Marcin Wojdyr
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 #ifndef _WX_GENERIC_STATTEXTG_H_
 #define _WX_GENERIC_STATTEXTG_H_
 
+// prevent it from including the platform-specific wxStaticText declaration as
+// this is not going to compile if it derives from wxGenericStaticText defined
+// below (currently this is only the case in wxUniv but it could also happen
+// with other ports)
+#define wxNO_PORT_STATTEXT_INCLUDE
 #include "wx/stattext.h"
+#undef wxNO_PORT_STATTEXT_INCLUDE
 
 class WXDLLIMPEXP_CORE wxGenericStaticText : public wxStaticTextBase
 {