~ubuntu-branches/ubuntu/wily/wxwidgets3.0/wily-proposed

« back to all changes in this revision

Viewing changes to samples/display/display.cpp

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-06-18 12:42:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140618124222-y7t2vpsije1cesxy
Tags: 3.0.1-1
* New upstream release
  + Incorporates most of the patches we were carrying - only one left is:
    wx-config-conditionalise-webview-in-std.patch
* Drop versioning of dependencies from run-time libraries to wx-common -
  this will make the transition to the next wx version harder, and also
  makes backporting to wheezy more work.
* Mark -dbg packages as "Multi-Arch: same".
* Correct short descriptions of the webview packages to not just be
  copies of the corresponding media package's short description.
* Wrap 81 character line in package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    wxBookCtrl *m_book;
90
90
 
91
91
    // any class wishing to process wxWidgets events must use this macro
92
 
    DECLARE_EVENT_TABLE()
 
92
    wxDECLARE_EVENT_TABLE();
93
93
};
94
94
 
95
95
// Client data class for the choice control containing the video modes
132
132
// the event tables connect the wxWidgets events with the functions (event
133
133
// handlers) which process them. It can be also done at run-time, but for the
134
134
// simple menu events like this the static method is much simpler.
135
 
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
 
135
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
136
136
    EVT_MENU(Display_Quit,  MyFrame::OnQuit)
137
137
    EVT_MENU(Display_FromPoint,  MyFrame::OnFromPoint)
138
138
    EVT_MENU(Display_FullScreen, MyFrame::OnFullScreen)
146
146
#endif // wxUSE_DISPLAY
147
147
 
148
148
    EVT_LEFT_UP(MyFrame::OnLeftClick)
149
 
END_EVENT_TABLE()
 
149
wxEND_EVENT_TABLE()
150
150
 
151
151
// Create a new application object: this macro will allow wxWidgets to create
152
152
// the application object during program execution (it's better than using a