class MyFrame: public wxFrame
{
public:
- MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h);
+ MyFrame(wxFrame *frame, const wxChar *title, int x, int y, int w, int h);
void OnQuit(wxCommandEvent& event);
public:
MyTextWindow(wxFrame *frame, int x=-1, int y=-1, int width=-1, int height=-1,
long style=wxTE_MULTILINE):
- wxTextCtrl(frame, -1, "", wxPoint(x, y), wxSize(width, height), style)
+ wxTextCtrl(frame, -1, _T(""), wxPoint(x, y), wxSize(width, height), style)
{
}
{
public:
wxPanel *panel;
- MySizerFrame(wxFrame *frame, char *title, int x, int y );
+ MySizerFrame(wxFrame *frame, wxChar *title, int x, int y );
};
#define LAYOUT_QUIT 100