#include "wx/colordlg.h"
#ifndef WX_PRECOMP
+ #include "wx/msw/wrapcdlg.h"
#include <stdio.h>
#include "wx/colour.h"
#include "wx/gdicmn.h"
#endif
#include "wx/msw/private.h"
-#include "wx/msw/wrapcdlg.h"
#include <stdlib.h>
#include <string.h>
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 )