]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/colrdlgg.cpp
more long/double to int conversion warnings from HP-UX logs fixed
[wxWidgets.git] / src / generic / colrdlgg.cpp
index 23026756ef188f0ab5d4eabbd545e8c5bd21b90f..4049e421fe53cdee0290e76fec8b989666d45d9f 100644 (file)
@@ -41,7 +41,6 @@
 
 #include "wx/generic/colrdlgg.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxGenericColourDialog, wxDialog)
 
 BEGIN_EVENT_TABLE(wxGenericColourDialog, wxDialog)
@@ -54,7 +53,6 @@ BEGIN_EVENT_TABLE(wxGenericColourDialog, wxDialog)
     EVT_CLOSE(wxGenericColourDialog::OnCloseWindow)
 END_EVENT_TABLE()
 
-#endif
 
 /*
  * Generic wxColourDialog
@@ -124,7 +122,7 @@ wxGenericColourDialog::wxGenericColourDialog()
 }
 
 wxGenericColourDialog::wxGenericColourDialog(wxWindow *parent, wxColourData *data):
-  wxDialog(parent, -1, "Colour", wxPoint(0, 0), wxSize(900, 900), wxDEFAULT_DIALOG_STYLE|wxDIALOG_MODAL)
+  wxDialog(parent, -1, wxT("Colour"), wxPoint(0, 0), wxSize(900, 900), wxDEFAULT_DIALOG_STYLE|wxDIALOG_MODAL)
 {
   whichKind = 1;
   colourSelection = 0;