Commit Graph

40720 Commits

Author SHA1 Message Date
Vadim Zeitlin
8e10778e0e cleanup: indentation, line length, don't include unneeded headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:42:37 +00:00
Vadim Zeitlin
6534efcf7b add adv and core libraries to the built wx libs if GUI is enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:11:37 +00:00
Vadim Zeitlin
6e198e97ec Rewrote configure --enable/with options handling:
1. There is no more need to set DEFAULT_wxUSE_XXX for all options (although
   it's still taken into account if it is set), use WX_ARG_DISABLE/WITHOUT for
   the options which are enabled by default instead (and WX_ARG_ENABLE/WITH
   for those which are disabled): this makes configure messages more
   understandable (this closes bug 1038676)
2. Added --disable-all-features option which allows to disable everything
   which can be disabled at once in order to build the absolutely minimal
   wx library
3. General cleanup 



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:03:11 +00:00
Stefan Csomor
8577d8c34d avoiding copies if not necessary (better dependancy tracking)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:50:41 +00:00
Stefan Csomor
8786868c1b 64bit fix for patch as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 15:46:36 +00:00
Julian Smart
f100b1c33e Test for wxUSE_UXTHEME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:55:28 +00:00
Julian Smart
b93aafaba9 Avoid a crash due to OnSize being called before initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:32:57 +00:00
Robert Roebling
60869e7219 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:03:52 +00:00
Vadim Zeitlin
ba752031a5 corrected timer.h include broken by last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:11:58 +00:00
Vadim Zeitlin
00ce89e74a compilation fixes for wxUSE_COMBOBOX/RADIOBTN==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:03:09 +00:00
Vadim Zeitlin
fae8664187 compilation fixes for wxUSE_MSGDLG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:51 +00:00
Vadim Zeitlin
c052164410 compilation fixes for wxUSE_IMAGE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:11 +00:00
Vadim Zeitlin
3c029873c6 check for wxUSE_TIMER in headers, not the files including them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:00:33 +00:00
Vadim Zeitlin
28fcfbfe09 added missing wxUSE_XXX checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:59:42 +00:00
Vadim Zeitlin
a59bbda13f removed dummy variable, C++ compilers shouldn't have any troubles with empty source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:37:09 +00:00
Vadim Zeitlin
8e913f796a compilation fixes for wxUSE_TIMER==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:57 +00:00
Vadim Zeitlin
bd08f2f766 compilation fixes for wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:17 +00:00
Vadim Zeitlin
8c7f47ddde don't include wx/unix/private/timer.h from evtloop.h, it's only needed in .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:11:04 +00:00
Václav Slavík
dc300f9ffc compilation fix for gcc<3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 20:13:59 +00:00
Václav Slavík
5fe050c360 added support for custom bitmap depths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 19:02:12 +00:00
Robin Dunn
c7a757aa56 Switch GetHeaderButtonWidget to use a real column header button.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:59:48 +00:00
Václav Slavík
c3ee702552 implemented raw bitmap access for wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:49:19 +00:00
Václav Slavík
650c0aa918 cleanup of raw access to bitmaps:
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Robert Roebling
a596eeb93f Block all events in wxSpinButton::SetValue etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:58:03 +00:00
Robert Roebling
28529e37e2 Block all events in wxSpinCtrl::SetValue etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:50:14 +00:00
Robert Roebling
0bf36922c8 Block all events in wxSpinCtrl::SetValue etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:23 +00:00
Vadim Zeitlin
e83e16de9e removed obsolete makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:29:19 +00:00
Vadim Zeitlin
bd63020652 added --optional-libs wx-config argument (patch 1747239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:28:12 +00:00
Vadim Zeitlin
92bf6cc15a Also added wxFFileStream::IsOk() and corrected IsOk() implementations of
wxFileInput/OutputStream to call the immediate base class version of this
method and not wxStreamBase one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:02:54 +00:00
Vadim Zeitlin
a8098f8653 regenerated after adding base64.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:00:51 +00:00
Vadim Zeitlin
4db03d266b added functions for base64 en/decoding (replaces patch 1739431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Robin Dunn
0514c6a202 Need to send an event in the wxCP_NO_TLW_RESIZE case too so the user
code knows when to update the layout


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 19:49:35 +00:00
Robin Dunn
621ed8af21 Use a button that has a tree widget as a parent as the widget style
for DrawHeaderButton, as this is apparently how the gtk themes decide
whether to draw a normal button or a column header button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:30:10 +00:00
Robert Roebling
94b1f7bcd3 More work on sorting in wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:29:05 +00:00
David Elliott
345fec0d57 Fix compilo due to r47267.
That patch might need some review because it does not use direct base classes but skips up to wxStreamBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:41:51 +00:00
Vadim Zeitlin
1ffeecf7a9 use first unused colour for the mask instead of hardcoded #ff00ff (patch 1746895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 17:08:20 +00:00
Vadim Zeitlin
a6ac8d7582 added wxFileStream::IsOk() (patch 1749587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 16:59:09 +00:00
Vadim Zeitlin
0a904ed2c8 generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:58:44 +00:00
Vadim Zeitlin
21dffed2f6 don't bubble up the events upwards the window hierarchy in non-last event handler in the event handlers chain as this results in passing the event more than once to the parent (and, indirectly, to wxApp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:48:48 +00:00
Julian Smart
cabf4bca21 Added gravity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:30:49 +00:00
Robert Roebling
773cca4887 Add GtkSortableIface stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:23:22 +00:00
Vadim Zeitlin
033bf67c3c added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Robert Roebling
5732efaa91 Add compare function to wxDataViewModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 12:32:59 +00:00
Robert Roebling
aba9bfd00a Bo'd patch to make wxDataViewCtrl compile again (4th attempt
to actually commit).



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
c185173ef0 ignore Bakefiles.local.bkgen file with local customizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:17:47 +00:00
Václav Slavík
0ff20b9f00 added GCC visibility support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Vadim Zeitlin
5458b18a18 fix from Francesco for the latest version of wxPresets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 23:11:55 +00:00
Václav Slavík
d03dab2a64 documented removal of unsafe wxGets() and wxTmpnam() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:23:11 +00:00
Václav Slavík
22ca9ff5b2 don't call <del-flags> for flags that weren't added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:03:58 +00:00