Added some XSyncs to help size calculations, but positioning
dialog remains a mystery git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,18 +38,6 @@ extern int wxComputeColours (Display *display, wxColour * back, wxColour * fore)
|
||||
// For convenience
|
||||
inline Display* wxGlobalDisplay() { return (Display*) wxGetDisplay(); }
|
||||
|
||||
#define wxNO_COLORS 0x00
|
||||
#define wxBACK_COLORS 0x01
|
||||
#define wxFORE_COLORS 0x02
|
||||
|
||||
extern XColor itemColors[5] ;
|
||||
|
||||
#define wxBACK_INDEX 0
|
||||
#define wxFORE_INDEX 1
|
||||
#define wxSELE_INDEX 2
|
||||
#define wxTOPS_INDEX 3
|
||||
#define wxBOTS_INDEX 4
|
||||
|
||||
#define wxMAX_RGB 0xff
|
||||
#define wxMAX_SV 1000
|
||||
#define wxSIGN(x) ((x < 0) ? -x : x)
|
||||
@@ -74,5 +62,8 @@ void wxAllocColor(Display *display,Colormap colormap,XColor *xcolor);
|
||||
wxString wxGetXEventName(XEvent& event);
|
||||
#endif
|
||||
|
||||
// Is the window visible?
|
||||
bool wxWindowIsVisible(Window win);
|
||||
|
||||
#endif
|
||||
// _WX_PRIVX_H_
|
||||
|
@@ -78,6 +78,10 @@ protected:
|
||||
|
||||
virtual void DoGetClientSize( int *width, int *height ) const;
|
||||
virtual void DoSetClientSize(int width, int height);
|
||||
virtual void DoSetSize(int x, int y,
|
||||
int width, int height,
|
||||
int sizeFlags = wxSIZE_AUTO);
|
||||
virtual void DoGetPosition( int *x, int *y ) const;
|
||||
|
||||
// is the frame currently iconized?
|
||||
bool m_iconized;
|
||||
|
@@ -156,11 +156,10 @@ protected:
|
||||
|
||||
protected:
|
||||
WXWindow m_mainWidget;
|
||||
|
||||
wxRegion m_clearRegion;
|
||||
bool m_clipPaintRegion;
|
||||
|
||||
bool m_winCaptured; // ????
|
||||
bool m_needsInputFocus; // Input focus set in OnIdle
|
||||
|
||||
// implement the base class pure virtuals
|
||||
virtual void DoClientToScreen( int *x, int *y ) const;
|
||||
|
Reference in New Issue
Block a user