wxBitmapControl Class Reference
[Roadnav Control Classes]

A class similar to wxStaticBitmap, but without the quirks. More...

#include <wxBitmapControl.h>

List of all members.

Public Member Functions

 wxBitmapControl (wxWindow *parent, wxWindowID id, const wxBitmap &bitmap, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("staticBitmap"))

Private Member Functions

void OnEraseBackground (wxEraseEvent &event)
 Handles erase background message - does nothing.
void OnPaint (wxPaintEvent &event)
 Paint image.

Private Attributes

wxWindow * m_pParent
 Parent window.
wxBitmap m_bmpDefault
 Bitmap drawn when button is not depressed.


Detailed Description

A class similar to wxStaticBitmap, but without the quirks.

wxStaticBitmap cannot be used with wxSkinnableFrame due to some odd z-order and mouse event issues under Win32.

Definition at line 41 of file MainPage.txt.


Constructor & Destructor Documentation

wxBitmapControl::wxBitmapControl ( wxWindow *  parent,
wxWindowID  id,
const wxBitmap &  bitmap,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = wxT("staticBitmap") 
)


Member Function Documentation

void wxBitmapControl::OnEraseBackground ( wxEraseEvent &  event  )  [private]

Handles erase background message - does nothing.

Definition at line 76 of file wxBitmapControl.cpp.

void wxBitmapControl::OnPaint ( wxPaintEvent &  event  )  [private]

Paint image.

Definition at line 85 of file wxBitmapControl.cpp.


Member Data Documentation

wxWindow* wxBitmapControl::m_pParent [private]

Parent window.

Definition at line 52 of file wxBitmapControl.h.

wxBitmap wxBitmapControl::m_bmpDefault [private]

Bitmap drawn when button is not depressed.

Definition at line 55 of file wxBitmapControl.h.


The documentation for this class was generated from the following files:

Generated on Sun Jul 27 17:26:21 2008 for Roadnav by  doxygen 1.5.5