]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontdlgg.cpp
small code cleanup while looking for an inexistent problem
[wxWidgets.git] / src / generic / fontdlgg.cpp
index f7e1eb93754ff4addcd125bc90f129597418cf74..b7a8f3be4e7b22686233eb30f104bfcc0331d731 100644 (file)
@@ -356,7 +356,7 @@ void wxGenericFontDialog::OnChangeFont(wxCommandEvent& WXUNUSED(event))
   m_previewer->Refresh();
 }
 
-wxChar *wxFontWeightIntToString(int weight)
+const wxChar *wxFontWeightIntToString(int weight)
 {
   switch (weight)
   {
@@ -370,7 +370,7 @@ wxChar *wxFontWeightIntToString(int weight)
   }
 }
 
-wxChar *wxFontStyleIntToString(int style)
+const wxChar *wxFontStyleIntToString(int style)
 {
   switch (style)
   {
@@ -384,7 +384,7 @@ wxChar *wxFontStyleIntToString(int style)
   }
 }
 
-wxChar *wxFontFamilyIntToString(int family)
+const wxChar *wxFontFamilyIntToString(int family)
 {
   switch (family)
   {