More wxWidgets in wxPoem demo code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a603d77ec1
commit
3baa26624a
3 changed files with 70 additions and 92 deletions
|
|
@ -51,6 +51,7 @@ class MainWindow: public wxFrame
|
|||
public:
|
||||
MyCanvas *canvas;
|
||||
MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
|
||||
~MainWindow();
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnChar(wxKeyEvent& event);
|
||||
|
|
@ -90,6 +91,9 @@ private:
|
|||
wxFont *m_boldFont;
|
||||
wxFont *m_italicFont;
|
||||
|
||||
// Icons
|
||||
wxIcon *m_corners[4];
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue