Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
streams; fixed wxSP_... ids that clashed with wxTextCtrl; added generic GetPixel implementation for GTK/Motif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1102,12 +1102,15 @@ enum wxStretch
|
||||
// #define wxLC_SHOW_SEL_ALWAYS
|
||||
|
||||
/*
|
||||
* wxSpinButton flags
|
||||
* wxSpinButton flags.
|
||||
* Note that a wxSpinCtrl is sometimes defined as
|
||||
* a wxTextCtrl, and so the flags must be different
|
||||
* from wxTextCtrl's.
|
||||
*/
|
||||
#define wxSP_HORIZONTAL wxHORIZONTAL // 4
|
||||
#define wxSP_VERTICAL wxVERTICAL // 8
|
||||
#define wxSP_ARROW_KEYS 0x0010
|
||||
#define wxSP_WRAP 0x0020
|
||||
#define wxSP_ARROW_KEYS 0x1000
|
||||
#define wxSP_WRAP 0x2000
|
||||
|
||||
/*
|
||||
* wxSplitterWindow flags
|
||||
|
@@ -619,6 +619,11 @@ protected:
|
||||
// converts from/to a stream to/from a temporary file.
|
||||
bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, ostream& stream);
|
||||
bool WXDLLEXPORT wxTransferStreamToFile(istream& stream, const wxString& filename);
|
||||
#else
|
||||
// For compatibility with existing file formats:
|
||||
// converts from/to a stream to/from a temporary file.
|
||||
bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, wxOutputStream& stream);
|
||||
bool WXDLLEXPORT wxTransferStreamToFile(wxInputStream& stream, const wxString& filename);
|
||||
#endif
|
||||
|
||||
#endif // _WX_DOCH__
|
||||
|
@@ -196,6 +196,8 @@ protected:
|
||||
static int debugLevel;
|
||||
static bool debugOn;
|
||||
|
||||
static int m_balign; // byte alignment
|
||||
static int m_balignmask; // mask for performing byte alignment
|
||||
public:
|
||||
// Set a checkpoint to dump only the memory from
|
||||
// a given point
|
||||
|
Reference in New Issue
Block a user