- SetIcon(wxICON(mondrian));
-
- wxMenu *menuFile = new wxMenu(_T(""), wxMENU_TEAROFF);
- menuFile->AppendCheckItem(Erase_Menu_UseBuffer, _T("&Use memory DC\tCtrl-M"));
+ SetIcon(wxICON(sample));
+
+ wxMenu *menuFile = new wxMenu("", wxMENU_TEAROFF);
+ menuFile->AppendCheckItem(Erase_Menu_UseBuffer, "&Use memory DC\tCtrl-M");
+ menuFile->AppendCheckItem(Erase_Menu_UseBgBitmap,
+ "Use background &bitmap\tCtrl-B");
+ menuFile->AppendCheckItem(Erase_Menu_EraseBgInPaint,
+ "&Erase background in EVT_PAINT\tCtrl-R");
+ menuFile->AppendSeparator();
+ menuFile->AppendRadioItem(Erase_Menu_BgStyleErase,
+ "Use wxBG_STYLE_&ERASE\tCtrl-E");
+ menuFile->AppendRadioItem(Erase_Menu_BgStyleSystem,
+ "Use wxBG_STYLE_&SYSTEM\tCtrl-S");
+ menuFile->AppendRadioItem(Erase_Menu_BgStylePaint,
+ "Use wxBG_STYLE_&PAINT\tCtrl-P");