X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18680f86512504f043ad5d0b222afc7be87aa3e9..985acf8734d61067c66b4812a9dd9da90d725851:/src/msw/colordlg.cpp diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index 21d50103f3..75a63ecef6 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -29,6 +29,7 @@ #include "wx/colordlg.h" #ifndef WX_PRECOMP + #include "wx/msw/wrapcdlg.h" #include #include "wx/colour.h" #include "wx/gdicmn.h" @@ -39,7 +40,6 @@ #endif #include "wx/msw/private.h" -#include "wx/msw/wrapcdlg.h" #include #include @@ -69,7 +69,7 @@ wxColourDialogHookProc(HWND hwnd, CHOOSECOLOR *pCC = (CHOOSECOLOR *)lParam; wxColourDialog *dialog = (wxColourDialog *)pCC->lCustData; - ::SetWindowText(hwnd, dialog->GetTitle()); + ::SetWindowText(hwnd, dialog->GetTitle().wx_str()); wxPoint pos = dialog->GetPosition(); if ( pos != wxDefaultPosition )