]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_font.i
This workaround is no longer needed because of fix in
[wxWidgets.git] / wxPython / src / _font.i
index 6045d4c4a2125fbbc64539f4f89c0a2395d5808f..c1d8805762a9e7504de0139664a0c4dfe464e881 100644 (file)
@@ -430,6 +430,10 @@ public:
 %newgroup
 
 
+MustHaveApp(wxFont);
+MustHaveApp(wxFont::GetDefaultEncoding);
+MustHaveApp(wxFont::SetDefaultEncoding);
+
 class wxFont : public wxGDIObject {
 public:
     %pythonPrepend wxFont   "if kwargs.has_key('faceName'): kwargs['face'] = kwargs['faceName'];del kwargs['faceName']"
@@ -533,6 +537,8 @@ IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEnc
 
 %}
 
+MustHaveApp(wxPyFontEnumerator);
+
 %name(FontEnumerator) class wxPyFontEnumerator {
 public:
     %pythonAppend wxPyFontEnumerator "self._setCallbackInfo(self, FontEnumerator, 0)"