virtual int GetCharWidth() const;
virtual void GetTextExtent(const wxString& string,
int *x, int *y,
- int *descent = (int *) NULL,
- int *externalLeading = (int *) NULL,
+ int *descent = NULL,
+ int *externalLeading = NULL,
const wxFont *theFont = (const wxFont *) NULL)
const;
virtual int GetScrollThumb( int orient ) const;
virtual int GetScrollRange( int orient ) const;
virtual void ScrollWindow( int dx, int dy,
- const wxRect* rect = (wxRect *) NULL );
+ const wxRect* rect = NULL );
virtual bool ScrollLines(int lines);
virtual bool ScrollPages(int pages);
// get the HWND to be used as parent of this window with CreateWindow()
virtual WXHWND MSWGetParent() const;
+ // get the Win32 window class name used by all wxWindow objects by default
+ static const wxChar *MSWGetRegisteredClassName();
+
// creates the window of specified Windows class with given style, extended
// style, title and geometry (default values
//
// check if a native double-buffering applies for this window
virtual bool IsDoubleBuffered() const;
-
+
+ void SetDoubleBuffered(bool on);
+
// synthesize a wxEVT_LEAVE_WINDOW event and set m_mouseInWindow to false
void GenerateMouseLeave();