#ifndef _WX_WINDOW_H_
#define _WX_WINDOW_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "window.h"
#endif
const wxRect *rect = (const wxRect *) NULL );
virtual void Update();
- virtual void Clear();
-
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual void SetSizeHints(int minW, int minH,
int maxW = -1, int maxH = -1,
int incW = -1, int incH = -1);
+ void SetSizeHints( const wxSize& minSize,
+ const wxSize& maxSize=wxDefaultSize,
+ const wxSize& incSize=wxDefaultSize)
+ { wxWindowBase::SetSizeHints(minSize, maxSize, incSize); }
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
virtual WXWindow GetMainWindow() const;
// Get X11 window representing the client area
- virtual WXWindow GetClientWindow() const;
-
+ virtual WXWindow GetClientAreaWindow() const;
+
void SetLastClick(int button, long timestamp)
{ m_lastButton = button; m_lastTS = timestamp; }
// OnInternalIdle
virtual void OnInternalIdle();
- // For compatibility across platforms (not in event table)
- void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
-
protected:
// Responds to colour changes: passes event on to children.
void OnSysColourChanged(wxSysColourChangedEvent& event);