projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Line-up interfaces to use size_t for GetCount()s (and count related api).
[wxWidgets.git]
/
samples
/
stc
/
edit.h
diff --git
a/samples/stc/edit.h
b/samples/stc/edit.h
index 0a4cbf4aba4c4debca7fb710d376c47149013011..4a7ecf79d135586491a09742b00dee5ded2c9f91 100644
(file)
--- a/
samples/stc/edit.h
+++ b/
samples/stc/edit.h
@@
-20,10
+20,10
@@
// headers
//----------------------------------------------------------------------------
// headers
//----------------------------------------------------------------------------
-//! wxWi
ndow
s headers
+//! wxWi
dget
s headers
-//! wxWi
ndow
s/contrib headers
-#include
<wx/stc/stc.h>
// styled text control
+//! wxWi
dget
s/contrib headers
+#include
"wx/stc/stc.h"
// styled text control
//! application headers
#include "prefs.h" // preferences
//! application headers
#include "prefs.h" // preferences
@@
-45,7
+45,7
@@
class Edit: public wxStyledTextCtrl {
public:
//! constructor
public:
//! constructor
- Edit (wxWindow *parent, wxWindowID id =
-1
,
+ Edit (wxWindow *parent, wxWindowID id =
wxID_ANY
,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = wxSUNKEN_BORDER|wxVSCROLL
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = wxSUNKEN_BORDER|wxVSCROLL
@@
-139,6
+139,8
@@
private:
};
};
+#if wxUSE_PRINTING_ARCHITECTURE
+
//----------------------------------------------------------------------------
//! EditPrint
class EditPrint: public wxPrintout {
//----------------------------------------------------------------------------
//! EditPrint
class EditPrint: public wxPrintout {
@@
-165,5
+167,6
@@
private:
bool PrintScaling (wxDC *dc);
};
bool PrintScaling (wxDC *dc);
};
-#endif //
_EDIT_H_
+#endif //
wxUSE_PRINTING_ARCHITECTURE
+#endif // _EDIT_H_