X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10d5be9ad3355c955225b88ad1fb0b739bce4a34..2ada746fb47bf68c9f2dab6399a6cd5510320984:/utils/wxOLE/samples/servlet/servlet.cpp?ds=sidebyside diff --git a/utils/wxOLE/samples/servlet/servlet.cpp b/utils/wxOLE/samples/servlet/servlet.cpp index 9e6b2d6416..daaa45c168 100644 --- a/utils/wxOLE/samples/servlet/servlet.cpp +++ b/utils/wxOLE/samples/servlet/servlet.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "servlet.cpp" - #pragma interface "servlet.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -70,7 +65,7 @@ class MyApp : public wxApp public: MyApp(); - ~MyApp(); + virtual ~MyApp(); virtual bool OnInit(); @@ -130,6 +125,6 @@ void MyOleControl::OnPaint( wxPaintEvent &WXUNUSED(event) ) { wxPaintDC dc(this); dc.SetFont( wxFont( 24, wxDECORATIVE, wxNORMAL, wxNORMAL, FALSE, "charter" ) ); - dc.DrawText( "wxWindows rules!", 5, 5 ); + dc.DrawText( "wxWidgets rules!", 5, 5 ); }