/* Created by Anjuta version 1.2.4a */ /* This file will not be overwritten */ #ifdef HAVE_CONFIG_H # include #endif #include class MyApp : public wxApp { public: virtual bool OnInit(); }; IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { wxFrame *frame = new wxFrame((wxFrame *)NULL, -1, "Hello World", wxPoint(50, 50), wxSize(450, 340)); // <-this is where the error occurs ( error message below ) frame->Show(TRUE); return TRUE; } /* here goes the compilling messages... Compiling file: main.cc ... g++ `wx-config --cxxflags` -Wall -g -c "main.cc" -o "main.o" main.cc: In member function ‘virtual bool MyApp::OnInit()’: main.cc:20: error: conversion from ‘const char [12]’ to ‘const wxString’ is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) Completed ... unsuccessful Total time taken: 4 secs */