]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/private.h
6d5ef73e915037892970e9e168075b8d875112db
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Private declarations
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_PRIVATE_H_
13 #define _WX_PRIVATE_H_
17 /* Put any private declarations here.
20 extern void wxWidgetResizeProc(Widget w
, XConfigureEvent
*event
, String args
[], int *num_args
);
22 extern wxHashTable
*wxWidgetHashTable
;
23 extern void wxDeleteWindowFromTable(Widget w
);
24 extern wxWindow
*wxGetWindowFromTable(Widget w
);
25 extern bool wxAddWindowToTable(Widget w
, wxWindow
*win
);
26 extern char wxFindMnemonic(const char* s
);
27 extern char * wxFindAccelerator (char *s
);
28 extern XmString
wxFindAcceleratorText (char *s
);
29 extern int wxCharCodeXToWX(KeySym keySym
);
30 extern KeySym
wxCharCodeWXToX(int id
);
31 bool wxTranslateMouseEvent(wxMouseEvent
& wxevent
, wxWindow
*win
, Widget widget
, XEvent
*xevent
);
32 bool wxTranslateKeyEvent(wxKeyEvent
& wxevent
, wxWindow
*win
, Widget widget
, XEvent
*xevent
);
34 #define wxNO_COLORS 0x00
35 #define wxBACK_COLORS 0x01
36 #define wxFORE_COLORS 0x02
38 extern XColor itemColors
[5] ;
40 #define wxBACK_INDEX 0
41 #define wxFORE_INDEX 1
42 #define wxSELE_INDEX 2
43 #define wxTOPS_INDEX 3
44 #define wxBOTS_INDEX 4