~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to include/wx/osx/statusbr.h

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
///////////////////////////////////////////////////////////////////////////////
 
2
// Name:        wx/osx/statusbr.h
 
3
// Purpose:     native implementation of wxStatusBar.
 
4
//              Optional: can use generic version instead.
 
5
// Author:      Stefan Csomor
 
6
// Modified by:
 
7
// Created:     1998-01-01
 
8
// RCS-ID:      $Id: statusbr.h 64943 2010-07-13 13:29:58Z VZ $
 
9
// Copyright:   (c) Stefan Csomor
 
10
// Licence:     wxWindows licence
 
11
///////////////////////////////////////////////////////////////////////////////
 
12
 
 
13
#ifndef _WX_STATBAR_H_
 
14
#define _WX_STATBAR_H_
 
15
 
 
16
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
 
17
{
 
18
public:
 
19
    wxStatusBarMac();
 
20
    wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
 
21
           long style = wxSTB_DEFAULT_STYLE,
 
22
           const wxString& name = wxStatusBarNameStr);
 
23
 
 
24
    virtual ~wxStatusBarMac();
 
25
 
 
26
    bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
 
27
              long style = wxSTB_DEFAULT_STYLE,
 
28
              const wxString& name = wxStatusBarNameStr);
 
29
 
 
30
    // Implementation
 
31
    virtual void MacHiliteChanged();
 
32
    void OnPaint(wxPaintEvent& event);
 
33
 
 
34
protected:
 
35
    virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
 
36
    virtual void DrawField(wxDC& dc, int i, int textHeight);
 
37
    virtual void DoUpdateStatusText(int number = 0);
 
38
 
 
39
    DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
 
40
    DECLARE_EVENT_TABLE()
 
41
};
 
42
 
 
43
#endif // _WX_STATBAR_H_