X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..89b3361ec25cf1e6d255b14c7633d8375646e4fb:/samples/xrc/custclas.h diff --git a/samples/xrc/custclas.h b/samples/xrc/custclas.h index 9973ed0161..1072f6b9fe 100644 --- a/samples/xrc/custclas.h +++ b/samples/xrc/custclas.h @@ -14,14 +14,6 @@ #ifndef _CUSTCLAS_H_ #define _CUSTCLAS_H_ -//---------------------------------------------------------------------------------------- -// GCC interface -//---------------------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "custclas.h" -#endif - //---------------------------------------------------------------------------------------- // Headers //---------------------------------------------------------------------------------------- @@ -36,7 +28,7 @@ class MyResizableListCtrl : public wxListCtrl { // Very helpful wxWidgets macro required for wxWidgets-RTTI tracing: By using this - // you will see "Leaked one object of type myResizeableListCtrl" in the debug log, + // you will see "Leaked one object of type myResizableListCtrl" in the debug log, // along with which line you if was created, but you forget to free the memory. // NOTE: Using this REQUIRES a default constructor: that means either: giving a // default value for all parameters in your constructor, or else having a dummy @@ -68,8 +60,8 @@ public: const wxString &name = wxT("myResizableListCtrl") ); - // Destuctor. - ~MyResizableListCtrl(); + // Destructor. + ~MyResizableListCtrl(){}; protected: