X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb6fa4b4257897e4e9655b05e4105e8b47f67476..26531700c7ec84872c60899ce6219954499086da:/include/wx/motif/private.h?ds=sidebyside diff --git a/include/wx/motif/private.h b/include/wx/motif/private.h index e48ad8311f..9aadf2e427 100644 --- a/include/wx/motif/private.h +++ b/include/wx/motif/private.h @@ -38,6 +38,12 @@ class WXDLLEXPORT wxColour; #define wxCHECK_LESSTIF() ( defined(LesstifVersion) && LesstifVersion > 0 ) +// ---------------------------------------------------------------------------- +// Miscellaneous functions +// ---------------------------------------------------------------------------- + +WXWidget wxCreateBorderWidget( WXWidget parent, long style ); + // ---------------------------------------------------------------------------- // common callbacks // ---------------------------------------------------------------------------- @@ -80,15 +86,15 @@ extern XmString wxFindAcceleratorText (const char *s); // ---------------------------------------------------------------------------- extern bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win, - Widget widget, XEvent *xevent); + Widget widget, const XEvent *xevent); extern bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win, - Widget widget, XEvent *xevent); + Widget widget, const XEvent *xevent); extern void wxDoChangeForegroundColour(WXWidget widget, wxColour& foregroundColour); extern void wxDoChangeBackgroundColour(WXWidget widget, wxColour& backgroundColour, - bool changeArmColour = FALSE); + bool changeArmColour = false); extern void wxDoChangeFont(WXWidget widget, wxFont& font); #define wxNO_COLORS 0x00 @@ -111,7 +117,7 @@ wxString wxXmStringToString( const XmString& xmString ); XmString wxStringToXmString( const wxString& string ); XmString wxStringToXmString( const char* string ); -// XmString made easy to use in wxWindows (and has an added benefit of +// XmString made easy to use in wxWidgets (and has an added benefit of // cleaning up automatically) class wxXmString {