Reformatted Motif headers; added __WXX11__ symbol support to common headers;
added place-holding src/x11 and include/wx/x11 files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,15 +90,15 @@ public:
|
||||
wxXmString(const wxString& str)
|
||||
{
|
||||
m_string = XmStringCreateLtoR((char *)str.c_str(),
|
||||
XmSTRING_DEFAULT_CHARSET);
|
||||
XmSTRING_DEFAULT_CHARSET);
|
||||
}
|
||||
|
||||
|
||||
~wxXmString() { XmStringFree(m_string); }
|
||||
|
||||
|
||||
// semi-implicit conversion to XmString (shouldn't rely on implicit
|
||||
// conversion because many of Motif functions are macros)
|
||||
XmString operator()() const { return m_string; }
|
||||
|
||||
|
||||
private:
|
||||
XmString m_string;
|
||||
};
|
||||
@@ -117,4 +117,4 @@ private:
|
||||
extern "C" XtAppContext wxGetAppContext();
|
||||
|
||||
#endif
|
||||
// _WX_PRIVATE_H_
|
||||
// _WX_PRIVATE_H_
|
||||
|
Reference in New Issue
Block a user