Francesco Montorsi
|
6d52ca536a
|
make GetPaperRect() and GetResolution() const functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 11:10:34 +00:00 |
|
Francesco Montorsi
|
0c14b6c324
|
fix the incoherence pointed out by ifacecheck between wx docs, that documents usage of the wxFontFamily, wxFontStyle and wxFontWeight enums in wxFont setters and getters, and the actual sources, which use 'int' instead; provided the same backward-compatibility pattern already used for wxBrush,wxPen both against 'int' overloads and against the wxDeprecatedGUIConstants enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-03 17:02:25 +00:00 |
|
Vadim Zeitlin
|
5c33522fca
|
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-02 02:39:52 +00:00 |
|
Stefan Neis
|
ac10ea91c9
|
Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 06:55:10 +00:00 |
|
Stefan Neis
|
3b644e9889
|
Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-19 12:34:13 +00:00 |
|
Stefan Neis
|
fcc9c05e7a
|
Avoid cyclic includes by forward declaring wxColour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-07 22:22:19 +00:00 |
|
Francesco Montorsi
|
0ef5b1dad1
|
provide backward-compat wxCursor(int) ctor; remove empty stubs of XBM ctor from all ports except gtk,motif; make all ports emit wxLogError on invalid bitmap types; implement wxCursor(const wxString&, ...) ctor on GTK (not tested yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-25 17:56:07 +00:00 |
|
Francesco Montorsi
|
d4f392ea20
|
use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-24 19:40:13 +00:00 |
|
Francesco Montorsi
|
c48d0d37c2
|
complete rev55777 with some icon.h modifications which I missed in the first place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-21 21:09:36 +00:00 |
|
Francesco Montorsi
|
cbea3ec6ae
|
introduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default argument values; matched the wxBitmap and wxIcon interfaces to their real implementations; revised icon.h interface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-21 20:03:14 +00:00 |
|
Vadim Zeitlin
|
1c4293cb91
|
added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-09-12 20:57:41 +00:00 |
|
Vadim Zeitlin
|
2c6dbc21b9
|
no changes, just de-TAB-bed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-08-30 22:01:20 +00:00 |
|
Stefan Neis
|
f35f85a99c
|
Added implementation of thread local storage for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-08-30 21:55:09 +00:00 |
|
Vadim Zeitlin
|
3e97a90518
|
use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-08-01 13:46:46 +00:00 |
|
Vadim Zeitlin
|
ecdc118383
|
add PostSizeEvent() and use it in wxMSW status bar code (#9795)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-29 23:07:24 +00:00 |
|
Vadim Zeitlin
|
0dba08dd39
|
move SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent() helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-29 12:32:47 +00:00 |
|
Vadim Zeitlin
|
bc735a68b1
|
declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-17 17:28:26 +00:00 |
|
Vadim Zeitlin
|
fdaad94e75
|
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-08 01:45:56 +00:00 |
|
Robert Roebling
|
ae8eee38f4
|
Disable disabling wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-02 18:07:06 +00:00 |
|
Stefan Neis
|
eccec0f887
|
Linker fix for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-22 21:21:36 +00:00 |
|
Stefan Neis
|
a289b10d2c
|
Fixed wxWindowOS2::Reparent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-17 09:40:37 +00:00 |
|
Stefan Neis
|
6b5c2d5262
|
OS/2 port: reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType
instead of "long" where possible; made them const-correct etc. (see r52820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-29 19:34:37 +00:00 |
|
Francesco Montorsi
|
231b9591aa
|
add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-28 16:47:58 +00:00 |
|
Francesco Montorsi
|
53a2db124c
|
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-26 15:06:00 +00:00 |
|
Francesco Montorsi
|
e86f2cc84a
|
reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-25 20:31:48 +00:00 |
|
Stefan Neis
|
09b67c660c
|
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-23 19:12:15 +00:00 |
|
Stefan Neis
|
1aca6611e6
|
Updated brush/pen implementation for OS/2 to current implementation style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-23 17:41:16 +00:00 |
|
Stefan Neis
|
4d98fefce7
|
Fixed compilation after wxBrushStyle/wxPenStyle changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-23 14:54:09 +00:00 |
|
Stefan Neis
|
5c80fea840
|
Compilation fix (CreateTimerImpl is taken from timerunx.cpp, so not inline).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-23 14:41:14 +00:00 |
|
Francesco Montorsi
|
1f5c66294a
|
add to GetToolkitVersion() the = NULL default values for the two arguments: they were documented but not actually implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-21 14:21:52 +00:00 |
|
Francesco Montorsi
|
ac3688c0d8
|
make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-20 15:08:51 +00:00 |
|
Francesco Montorsi
|
82cddbd97a
|
fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-16 21:11:12 +00:00 |
|
Francesco Montorsi
|
3e6858cdcb
|
introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-16 16:47:57 +00:00 |
|
Vadim Zeitlin
|
396197cb56
|
set wxUSE_IOSTREAMH to 0 by default, we're in 2008, not 1988
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 12:16:33 +00:00 |
|
Vadim Zeitlin
|
bb445ba732
|
turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-16 15:40:13 +00:00 |
|
Vadim Zeitlin
|
6e4ae332ac
|
add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-10 17:03:23 +00:00 |
|
Vadim Zeitlin
|
4732e2dca9
|
add wxUSE_WEAKREF (modified partially applied patch 1870445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-09 14:40:26 +00:00 |
|
Vadim Zeitlin
|
52e5cc357e
|
corrected comment: wxSingleInstance is not for Win32 only since about 10 years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-29 23:11:55 +00:00 |
|
Paul Cornett
|
e45080c10b
|
make XPM data pointer parameter fully const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-14 18:16:37 +00:00 |
|
Stefan Neis
|
4b3f61d14c
|
Implemented wxGDIObject::Create/CloneGDIRefData() for the relevant classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 15:05:15 +00:00 |
|
Stefan Neis
|
f90913e2ac
|
Allow using socket from both wxBase and wxCore (adopting to changes from r50831)
Use Unix' gsocketiohandler files for wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:47:01 +00:00 |
|
Stefan Neis
|
2c24e7adf0
|
Adopted OS/2 to DC reorganisation (r50348).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:37:10 +00:00 |
|
Vadim Zeitlin
|
75a29ef15c
|
added configure option for wxUSE_AUTOID_MANAGEMENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 21:01:38 +00:00 |
|
Vadim Zeitlin
|
cf2810aa39
|
use wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightly modified patch 1835458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 14:38:44 +00:00 |
|
Vadim Zeitlin
|
17808a7596
|
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 00:21:31 +00:00 |
|
Vadim Zeitlin
|
9ef6890f0b
|
added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-12-22 15:03:58 +00:00 |
|
Vadim Zeitlin
|
8f884a0dcc
|
Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added
wxGDIObject::Create/CloneGDIRefData() and implemented them for (almost) all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-12-15 17:54:20 +00:00 |
|
Vadim Zeitlin
|
163b3ad72c
|
replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-12-12 01:35:53 +00:00 |
|
Robert Roebling
|
a0b5751160
|
Derive from wxToggleButtonBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-12-08 10:43:38 +00:00 |
|
Václav Slavík
|
b150bffc9e
|
fixed linking with visibility enabled on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase) -- do this in all ports, not just wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-11-27 20:37:06 +00:00 |
|