Commit Graph

40539 Commits

Author SHA1 Message Date
David Elliott
64dfdfa28b Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:03:20 +00:00
David Elliott
aa25b7f983 Fix Raise and Lower to leave all other sibilng views in the order they were in.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 18:26:33 +00:00
Robert Roebling
3b6280beb2 Bo's patch for generic code, more sorting code, WIP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Václav Slavík
3ef595d5f8 removed extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:36:25 +00:00
Vadim Zeitlin
de004174ff compilation fix for ANSI STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:16:23 +00:00
Vadim Zeitlin
325ab46800 removed Insert() methods which already exist in the base wxControlWithItems class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:04:07 +00:00
Vadim Zeitlin
b534968dc3 added support for alpha channel to wxColour to/from string conversion functions (slightly modified patch 1750112)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 08:36:24 +00:00
Paul Cornett
1d66b09982 fix MDI child sizing, which was working more or less by accident before I broke it in rev 46223
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 07:01:54 +00:00
Václav Slavík
f24fc8367d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 06:13:52 +00:00
Vadim Zeitlin
6af769427a added missing spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:18:01 +00:00
Vadim Zeitlin
98c389845f non-PCH compilation fix after latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:12:51 +00:00
Vadim Zeitlin
5814e8ba4e added support for binary data to wxConfig (slightly modified patch 1736788)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:11:03 +00:00
Vadim Zeitlin
84ebfcbd18 --with-sdl option should be taken into account for non-GUI builds too (closes bug 1196162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:31:24 +00:00
Vadim Zeitlin
e16417726c minor changes: increase the initial window size, create the log control read-only, don't create unneeded status bar panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:17:39 +00:00
Vadim Zeitlin
6ac902639c call SetCanFocus(false) to prevent the control window itself from getting focus, only m_mainWin should have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:16:26 +00:00
Vadim Zeitlin
6bddfdbf19 don't output -DwxUSE_GUI=0 in cflags by default, do output it if 'base' is specified after cflags option (patch from John Labenski)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:54:51 +00:00
Vadim Zeitlin
b7ed9e10d3 fixed a bug in a test (there should be a space after -z)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:32 +00:00
Vadim Zeitlin
238663c183 disable the libraries and features which were disabled before the latest changes but got accidentally enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 21:14:05 +00:00
Vadim Zeitlin
b0fc907f70 added wxUSE_SVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
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