X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/palmos/statline.h diff --git a/include/wx/palmos/statline.h b/include/wx/palmos/statline.h index bccb0e8595..8ffac3a76f 100644 --- a/include/wx/palmos/statline.h +++ b/include/wx/palmos/statline.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palmos/statline.h +// Name: wx/palmos/statline.h // Purpose: Palm OS version of wxStaticLine class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,38 +12,34 @@ #ifndef _WX_MSW_STATLINE_H_ #define _WX_MSW_STATLINE_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface -#endif - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxStaticLine : public wxStaticLineBase +class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase { public: // constructors and pseudo-constructors wxStaticLine() { } wxStaticLine( wxWindow *parent, - wxWindowID id, + wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, - const wxString &name = wxStaticTextNameStr ) + const wxString &name = wxStaticLineNameStr ) { Create(parent, id, pos, size, style, name); } bool Create( wxWindow *parent, - wxWindowID id, + wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, - const wxString &name = wxStaticTextNameStr ); + const wxString &name = wxStaticLineNameStr ); - // overriden base class virtuals + // overridden base class virtuals virtual bool AcceptsFocus() const { return FALSE; } protected: