]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/statline.h
don't return HTCLIENT for static bitmaps, this breaks mouse (leave) event generation
[wxWidgets.git] / include / wx / palmos / statline.h
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e1d63b79 2// Name: wx/palmos/statline.h
ffecfa5a 3// Purpose: Palm OS version of wxStaticLine class
e1d63b79 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e1d63b79 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSW_STATLINE_H_
13#define _WX_MSW_STATLINE_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface
17#endif
18
19// ----------------------------------------------------------------------------
20// wxStaticLine
21// ----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
24{
25public:
26 // constructors and pseudo-constructors
27 wxStaticLine() { }
28
29 wxStaticLine( wxWindow *parent,
30 wxWindowID id,
31 const wxPoint &pos = wxDefaultPosition,
32 const wxSize &size = wxDefaultSize,
33 long style = wxLI_HORIZONTAL,
34 const wxString &name = wxStaticTextNameStr )
35 {
36 Create(parent, id, pos, size, style, name);
37 }
38
39 bool Create( wxWindow *parent,
40 wxWindowID id,
41 const wxPoint &pos = wxDefaultPosition,
42 const wxSize &size = wxDefaultSize,
43 long style = wxLI_HORIZONTAL,
44 const wxString &name = wxStaticTextNameStr );
45
46 // overriden base class virtuals
47 virtual bool AcceptsFocus() const { return FALSE; }
48
49protected:
50 // usually overridden base class virtuals
51 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
52
53 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
54};
55
56#endif // _WX_MSW_STATLINE_H_
57
58