// wxWindow declaration for Palm
// ---------------------------------------------------------------------------
-class WXDLLEXPORT wxWindowPalm : public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowPalm : public wxWindowBase
{
public:
wxWindowPalm() { Init(); }
virtual void Refresh( bool eraseBackground = true,
const wxRect *rect = NULL );
virtual void Update();
- virtual void Freeze();
- virtual void Thaw();
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
// simple accessors
// ----------------
- virtual WXWINHANDLE GetWinHandle() const { return m_handle; }
- virtual WXWidget GetHandle() const { return GetWinHandle(); }
+ WXHWND GetHWND() const { return m_hWnd; }
+ void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
+ virtual WXWidget GetHandle() const { return GetHWND(); }
// event handlers
// --------------
protected:
// the window handle
- WXWINHANDLE m_handle;
+ WXHWND m_hWnd;
WXFORMPTR FrameForm;
WXFORMPTR GetFormPtr();
bool HandleMoving(wxRect& rect);
bool HandleJoystickEvent(WXUINT msg, int x, int y, WXUINT flags);
- // number of calls to Freeze() minus number of calls to Thaw()
- unsigned int m_frozenness;
-
DECLARE_DYNAMIC_CLASS(wxWindowPalm)
DECLARE_NO_COPY_CLASS(wxWindowPalm)
DECLARE_EVENT_TABLE()