Commit Graph

96 Commits

Author SHA1 Message Date
Vadim Zeitlin
cf000528d0 added wxSOLID default value for FindOrCreateBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:00:09 +00:00
Włodzimierz Skiba
2ecf902bc8 Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:18:31 +00:00
Robert Roebling
b737ad10de Applied John L's patches for curson scaling, image resizing
without scaling and the art provider resize bitmap patch.
    I'll look into adapting the generic file dialog to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Włodzimierz Skiba
16cba29d3a Warning fixes for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:48:22 +00:00
Vadim Zeitlin
3ea9aa8f0e removed extra class qualifier from inline method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:33:51 +00:00
Vadim Zeitlin
df83b840bb added and documented wxRect::Union(); also moved some methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:29:55 +00:00
Włodzimierz Skiba
fc84bd0570 Expression simplifications for scaling and inflating.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:18:20 +00:00
Włodzimierz Skiba
8d8fbb9d1b Simplify wxRect construction at the wxPoint(0,0) with given size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 19:54:29 +00:00
Włodzimierz Skiba
1b941f2d31 Warning fixes for OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
5d3e7b52d8 Source cleaning: whitespaces, tabs, FALSE/false, TRUE/true, -1/wxDefaultCoord, !!/!IsEmpty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 13:20:18 +00:00
Włodzimierz Skiba
d22004c4f4 Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:01:33 +00:00
Włodzimierz Skiba
4b0881393c Private macro moved in waiting for DektopPolicy implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:55:33 +00:00
Włodzimierz Skiba
119727ad9e Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Václav Slavík
62a9d04c7d WXDLLEXPORT correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:02:29 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
bdcade0a10 When wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
wxHashMap/wxHashSet are just typedefs for them. This makes impossible
to forward declare these classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 20:20:24 +00:00
Vadim Zeitlin
706f14210b added and documented wxSize::IsFullySpecified() and SetDefaults()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:24:56 +00:00
Julian Smart
d02bc4c8d4 Applied patch [ 871014 ] Adding size of control to its position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 15:05:38 +00:00
Julian Smart
355a5e2bd3 Applied patch [ 840721 ] convenience function wxRect::GetBottomRight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 12:33:11 +00:00
Vadim Zeitlin
492e2a5b07 marked FindColour() as deprecated; removed AddColour() which was only used internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 13:41:12 +00:00
Vadim Zeitlin
c50f92d08c fixed bug with wxcolourDatabase::FindColour(); added (and documented) new Find() and AddColour(const wxColour&) methods to avoid such problems in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 17:42:31 +00:00
Václav Slavík
a3bf7524f3 removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Václav Slavík
1202890513 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Vadim Zeitlin
5b087ae258 added wxSize::IncTo/DecTo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:04:22 +00:00
Mattia Barbon
9b51403d37 Remove commented-out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:04:23 +00:00
Mattia Barbon
8f520a56b7 Added and documented wxColourDatabase::AddColour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:51 +00:00
Mattia Barbon
222ed1d678 STL-ification patch for wxMSW and wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
David Elliott
35c1cfdda1 wxBITMAP now uses XPM constructor for wxCocoa (like everything except wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:59:51 +00:00
Vadim Zeitlin
886dd7d28e fixes needed for separate DLL build to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Julian Smart
f67db8c002 Removed AlignIn after further thought
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 17:15:38 +00:00
Julian Smart
a89abd7f0c Applied patch [ 730697 ] wxRect::AlignIn member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:53:00 +00:00
Julian Smart
e6c96a7ca4 Applied patch [ 689188 ] adds wxToolBar::GetToolPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:27:39 +00:00
Stefan Csomor
5f7a6626aa added copy arrow cursor macos specific
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:35:42 +00:00
Mattia Barbon
ed39ff57b3 Remove unnecessary header dependencies. Fix resulting compilation
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
af49c4b8a2 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Ron Lee
4aa0010b2b Added Set{Position,Size} to wxRect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 06:29:22 +00:00
Gilles Depeyrot
7ee31b00ed corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:41:22 +00:00
Robin Dunn
15dadf3155 Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR,
but points to the right, (duh...)  This cursor is now used in wxSTC in
the margin area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 22:52:15 +00:00
Julian Smart
eddf46fea7 Fixed a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:44:39 +00:00
Julian Smart
83df96d63a 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
2002-02-05 16:34:33 +00:00
Václav Slavík
63f8abca79 fixed to the IFF handler, moved into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:18 +00:00
Václav Slavík
658974ae66 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Václav Slavík
1d965e2fb1 use XPMs in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:55:08 +00:00
Gilles Depeyrot
0532484d0f corrected wxICON for Mac OS (Classic and X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 19:27:30 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Robin Dunn
ec5d77998a Implemented wxGetClientDisplayRect which returns the dimensions of the
desktop minus taskbar, etc. on Windows and defaults to the full
desktop dimensions on other platforms.  (If there is a way to do it
for other platforms please do.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 20:55:11 +00:00
Robin Dunn
83f96286bb Added wxCURSOR_ARROWWAIT which is the default arrow+hourglass cursor
on MSW, or the same as wxCURSOR_WAIT on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 19:08:24 +00:00
Václav Slavík
2aeec9eccc applied fix to fix BCC's wxBitmap ctor problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 18:04:34 +00:00