]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/private.h
added wxTE_BESTWRAP style (which is the default now); renamed wxTE_LINEWRAP to wxTE_C...
[wxWidgets.git] / include / wx / motif / private.h
index e48ad8311f07eeda4f8d079bde24fdb8caa8b3ba..9aadf2e427e1c1b0273adb74518e178f59c7b711 100644 (file)
@@ -38,6 +38,12 @@ class WXDLLEXPORT wxColour;
 
 #define wxCHECK_LESSTIF() ( defined(LesstifVersion) && LesstifVersion > 0 )
 
 
 #define wxCHECK_LESSTIF() ( defined(LesstifVersion) && LesstifVersion > 0 )
 
+// ----------------------------------------------------------------------------
+// Miscellaneous functions
+// ----------------------------------------------------------------------------
+
+WXWidget wxCreateBorderWidget( WXWidget parent, long style );
+
 // ----------------------------------------------------------------------------
 // common callbacks
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // common callbacks
 // ----------------------------------------------------------------------------
@@ -80,15 +86,15 @@ extern XmString wxFindAcceleratorText (const char *s);
 // ----------------------------------------------------------------------------
 
 extern bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win,
 // ----------------------------------------------------------------------------
 
 extern bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win,
-                                  Widget widget, XEvent *xevent);
+                                  Widget widget, const XEvent *xevent);
 extern bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win,
 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,
 
 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
 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 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
 {
 // cleaning up automatically)
 class wxXmString
 {