wxX11 wxFont miss the wxFont (const wxString &nativeInfoString) ctor, it will cause build tests failed. Added and fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,12 +67,14 @@ public:
|
||||
|
||||
wxFont(const wxNativeFontInfo& info);
|
||||
|
||||
// FIXME: I added the ! to make it compile;
|
||||
// is this right? - JACS
|
||||
#if !wxUSE_UNICODE
|
||||
wxFont(const wxString &nativeInfoString)
|
||||
{
|
||||
Create(nativeInfoString);
|
||||
}
|
||||
|
||||
bool Create(const wxString& fontname,
|
||||
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT);
|
||||
#endif
|
||||
|
||||
// DELETEME: no longer seems to be implemented.
|
||||
// bool Create(const wxNativeFontInfo& fontinfo);
|
||||
|
||||
|
Reference in New Issue
Block a user