]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/font.cpp
implemented wxPopupWindow for wxDFB; added wxNonOwnedWindow as base class for wxTopLe...
[wxWidgets.git] / src / cocoa / font.cpp
index 606e2e3d726e435a14a2f4f5dfe0da8747b377c6..ed1fac7b70aeb04b2a96244adc158044819d8a5d 100644 (file)
 
 #include "wx/wxprec.h"
 
+#include "wx/font.h"
+
 #ifndef WX_PRECOMP
     #include "wx/string.h"
+    #include "wx/gdicmn.h"
 #endif
 
-#include "wx/font.h"
-#include "wx/gdicmn.h"
 #include "wx/encinfo.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
@@ -36,6 +37,8 @@ wxFontRefData::~wxFontRefData()
     // TODO: delete font data
 }
 
+#define M_FONTDATA ((wxFontRefData*)m_refData)
+
 bool wxFont::Create(const wxNativeFontInfo&)
 {
     return false;