X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3096bd2fa7b88105bc54c08e3c878585de1a9b91..77611ad4da9df336a0805508276a81b8f4437107:/src/generic/fontdlgg.cpp?ds=sidebyside diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 2257f4bcf1..a7c96f9667 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -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)