X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/univ/statline.cpp?ds=sidebyside diff --git a/src/univ/statline.cpp b/src/univ/statline.cpp index a4527c4017..b353bf7474 100644 --- a/src/univ/statline.cpp +++ b/src/univ/statline.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: univ/statline.cpp +// Name: src/univ/statline.cpp // Purpose: wxStaticLine implementation // Author: Vadim Zeitlin // Modified by: @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "univstatline.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -42,8 +38,6 @@ // implementation // ============================================================================ -IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl) - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- @@ -56,13 +50,13 @@ bool wxStaticLine::Create(wxWindow *parent, const wxString &name) { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; + return false; wxSize sizeReal = AdjustSize(size); if ( sizeReal != size ) SetSize(sizeReal); - return TRUE; + return true; } void wxStaticLine::DoDraw(wxControlRenderer *renderer)