X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af111fc33841cc8bdc4d6cf027702805333bdd2a..c13cace12594b37706e9520a6fbd602c949f8127:/src/generic/fontdlgg.cpp?ds=sidebyside diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 38e54e9209..a7c96f9667 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -31,7 +31,7 @@ #include "wx/dcclient.h" #include "wx/choice.h" #include "wx/checkbox.h" -#include +#include "wx/intl.h" #endif #include @@ -40,7 +40,6 @@ #include "wx/cmndata.h" #include "wx/generic/fontdlgg.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxGenericFontDialog, wxDialog) BEGIN_EVENT_TABLE(wxGenericFontDialog, wxDialog) @@ -54,7 +53,6 @@ BEGIN_EVENT_TABLE(wxGenericFontDialog, wxDialog) EVT_CLOSE(wxGenericFontDialog::OnCloseWindow) END_EVENT_TABLE() -#endif #define NUM_COLS 48 static wxString wxColourDialogNames[NUM_COLS]={wxT("ORANGE"), @@ -371,7 +369,6 @@ wxChar *wxFontWeightIntToString(int weight) default: return wxT("Normal"); } - return wxT("Normal"); } wxChar *wxFontStyleIntToString(int style) @@ -386,7 +383,6 @@ wxChar *wxFontStyleIntToString(int style) default: return wxT("Normal"); } - return wxT("Normal"); } wxChar *wxFontFamilyIntToString(int family) @@ -407,7 +403,6 @@ wxChar *wxFontFamilyIntToString(int family) default: return wxT("Swiss"); } - return wxT("Swiss"); } int wxFontFamilyStringToInt(wxChar *family)