]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcmemory.cpp
tmake template for DLL project for VC++ 6.0
[wxWidgets.git] / src / motif / dcmemory.cpp
index 9a6c4271c87cd066fb5bf6d3e84e6a6861eae691..166ee6b6a2e72f1c4e9652a5f63360948a6a3bdb 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 
 #include "wx/dcmemory.h"
+#include "wx/settings.h"
 #include "wx/utils.h"
 
 #include <Xm/Xm.h>
@@ -50,6 +51,7 @@ wxMemoryDC::wxMemoryDC(void)
     m_oldFont = (WXFont) valReturn.font;
     SetBrush (* wxWHITE_BRUSH);
     SetPen (* wxBLACK_PEN);
+    SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));    
 };
 
 wxMemoryDC::wxMemoryDC( wxDC* dc )