MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMBeginPaintEvent Class Reference

Event used to signify that painting is beginning. The purpose of this event is to create a DC on which to paint. It will be cleaned up with a wxIFMEndPaintEvent. More...

#include <events.h>

List of all members.

Public Member Functions

 wxIFMBeginPaintEvent (wxWindow *window, bool onpaint=true)
 wxIFMBeginPaintEvent (const wxIFMBeginPaintEvent &event)
virtual wxEvent * Clone () const
wxDC * GetDC () const
void SetDC (wxDC *dc)
bool GetOnPaint () const
wxWindow * GetWindow () const

Protected Attributes

wxDC * m_dc
 dc to use to paint
bool m_onpaint
 true if this event is being sent as the result of a wxEVT_PAINT message
wxWindow * m_window
 window on which to paint


Detailed Description

Event used to signify that painting is beginning. The purpose of this event is to create a DC on which to paint. It will be cleaned up with a wxIFMEndPaintEvent.

See also:
wxIFMEndPaintEvent

Definition at line 865 of file events.h.


Constructor & Destructor Documentation

wxIFMBeginPaintEvent::wxIFMBeginPaintEvent wxWindow *  window,
bool  onpaint = true
[inline]
 

Definition at line 874 of file events.h.

Referenced by Clone().

wxIFMBeginPaintEvent::wxIFMBeginPaintEvent const wxIFMBeginPaintEvent event  )  [inline]
 

Definition at line 881 of file events.h.


Member Function Documentation

virtual wxEvent* wxIFMBeginPaintEvent::Clone  )  const [inline, virtual]
 

Definition at line 888 of file events.h.

References wxIFMBeginPaintEvent().

wxDC* wxIFMBeginPaintEvent::GetDC  )  const [inline]
 

Returns the DC on which to paint

Definition at line 893 of file events.h.

References m_dc.

Referenced by wxIFMInterfacePluginBase::OnPaint().

bool wxIFMBeginPaintEvent::GetOnPaint  )  const [inline]
 

Returns:
true if this event is being generated in response to a wxEVT_PAINT message.

Definition at line 903 of file events.h.

References m_onpaint.

Referenced by wxIFMDefaultPlugin::OnBeginPaint().

wxWindow* wxIFMBeginPaintEvent::GetWindow  )  const [inline]
 

Returns the window on which to paint

Definition at line 908 of file events.h.

References m_window.

Referenced by wxIFMDefaultPlugin::OnBeginPaint().

void wxIFMBeginPaintEvent::SetDC wxDC *  dc  )  [inline]
 

Sets the DC to use to paint

Definition at line 898 of file events.h.

References m_dc.

Referenced by wxIFMDefaultPlugin::OnBeginPaint().


Member Data Documentation

wxDC* wxIFMBeginPaintEvent::m_dc [protected]
 

dc to use to paint

Definition at line 868 of file events.h.

Referenced by GetDC(), and SetDC().

bool wxIFMBeginPaintEvent::m_onpaint [protected]
 

true if this event is being sent as the result of a wxEVT_PAINT message

Definition at line 869 of file events.h.

Referenced by GetOnPaint().

wxWindow* wxIFMBeginPaintEvent::m_window [protected]
 

window on which to paint

Definition at line 870 of file events.h.

Referenced by GetWindow().


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

 

SourceForge Logo