Started some NanoX work (blind to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,7 +35,7 @@ class WXDLLEXPORT wxLog;
|
||||
class WXDLLEXPORT wxEventLoop;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the wxApp class for Motif - see wxAppBase for more details
|
||||
// the wxApp class for wxX11 - see wxAppBase for more details
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxApp : public wxAppBase
|
||||
@@ -99,11 +99,16 @@ public:
|
||||
// We need this before create the app
|
||||
static WXDisplay* GetDisplay() { return ms_display; }
|
||||
static WXDisplay* ms_display;
|
||||
|
||||
// Values that can be passed on the command line.
|
||||
// Returns -1, -1 if none specified.
|
||||
const wxSize& GetInitialSize() const { return m_initialSize; }
|
||||
bool GetShowIconic() const { return m_showIconic; }
|
||||
|
||||
public:
|
||||
static long sm_lastMessageTime;
|
||||
int m_nCmdShow;
|
||||
|
||||
static long sm_lastMessageTime;
|
||||
bool m_showIconic;
|
||||
wxSize m_initialSize;
|
||||
protected:
|
||||
bool m_keepGoing;
|
||||
|
||||
|
@@ -3,3 +3,42 @@
|
||||
*/
|
||||
|
||||
#include "XtoNX.h"
|
||||
|
||||
/* Data types */
|
||||
|
||||
typedef GR_PALETTE Colormap;
|
||||
|
||||
/* events*/
|
||||
|
||||
/* What should this be? */
|
||||
#if 0
|
||||
#ifndef ResizeRequest
|
||||
#define ResizeRequest ??
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MotionNotify
|
||||
#define MotionNotify GR_EVENT_TYPE_MOUSE_POSITION
|
||||
#define PointerMotionMask GR_EVENT_MASK_MOUSE_POSITION
|
||||
#endif
|
||||
|
||||
#ifndef FocusIn
|
||||
#define FocusIn GR_EVENT_TYPE_FOCUS_IN
|
||||
#define FocusOut GR_EVENT_TYPE_FOCUS_OUT
|
||||
#define FocusChangeMask GR_EVENT_MASK_FOCUS_IN|GR_EVENT_MASK_FOCUS_OUT
|
||||
#endif
|
||||
|
||||
/* Fuunctions */
|
||||
|
||||
#ifdef __cpluplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
Colormap DefaultColormapOfScreen(Screen /* screen */);
|
||||
|
||||
#ifdef __cpluplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define XGetMaxRequestSize(display) 16384
|
||||
|
||||
|
Reference in New Issue
Block a user