-// Conversion
-static const double METRIC_CONVERSION_CONSTANT = 0.0393700787;
-
-// Scaling factors for various unit conversions
-static const double mm2inches = (METRIC_CONVERSION_CONSTANT);
-static const double inches2mm = (1/METRIC_CONVERSION_CONSTANT);
-
-static const double mm2twips = (METRIC_CONVERSION_CONSTANT*1440);
-static const double twips2mm = (1/(METRIC_CONVERSION_CONSTANT*1440));
-
-static const double mm2pt = (METRIC_CONVERSION_CONSTANT*72);
-static const double pt2mm = (1/(METRIC_CONVERSION_CONSTANT*72));
+//
+// Constant strings for control names and classes
+//
+
+//
+// Controls
+//
+WXDLLEXPORT_DATA(extern const char) wxButtonNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxCheckBoxNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxChoiceNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxComboBoxNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxDialogNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxFrameNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxGaugeNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxStaticBoxNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxListBoxNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxStaticLineNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxStaticTextNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxStaticBitmapNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxPanelNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxRadioBoxNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxRadioButtonNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxBitmapRadioButtonNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxScrollBarNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxSliderNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxTextCtrlNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxToolBarNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxStatusLineNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxGetTextFromUserPromptStr[];
+WXDLLEXPORT_DATA(extern const char) wxMessageBoxCaptionStr[];
+WXDLLEXPORT_DATA(extern const char) wxFileSelectorPromptStr[];
+WXDLLEXPORT_DATA(extern const char) wxFileSelectorDefaultWildcardStr[];
+WXDLLEXPORT_DATA(extern const wxChar*) wxInternalErrorStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxFatalErrorStr;
+WXDLLEXPORT_DATA(extern const char) wxTreeCtrlNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxDirDialogNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxDirDialogDefaultFolderStr[];
+
+//
+// Class names
+//
+WXDLLEXPORT_DATA(extern const wxChar*) wxFrameClassName;
+WXDLLEXPORT_DATA(extern const wxChar*) wxFrameClassNameNoRedraw;
+WXDLLEXPORT_DATA(extern const wxChar*) wxMDIFrameClassName;
+WXDLLEXPORT_DATA(extern const wxChar*) wxMDIFrameClassNameNoRedraw;
+WXDLLEXPORT_DATA(extern const wxChar*) wxMDIChildFrameClassName;
+WXDLLEXPORT_DATA(extern const wxChar*) wxMDIChildFrameClassNameNoRedraw;
+WXDLLEXPORT_DATA(extern const wxChar*) wxPanelClassName;
+WXDLLEXPORT_DATA(extern const wxChar*) wxPanelClassNameNR;
+WXDLLEXPORT_DATA(extern const wxChar*) wxCanvasClassName;
+WXDLLEXPORT_DATA(extern const wxChar*) wxCanvasClassNameNR;