Commit Graph

25185 Commits

Author SHA1 Message Date
Dimitri Schoolwerth
8f7fa6f8f9 removed tab character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:46:42 +00:00
Vadim Zeitlin
17c24d37c6 started wxFileConfig unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:17:19 +00:00
Vadim Zeitlin
a121d72052 added wxFileConfig::Save(stream); documented it in new, separate from wxConfig, wxFileConfig doc file (replaces patches 902372 and 900889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:55:08 +00:00
Vadim Zeitlin
e1cc687422 don't keep a dirty flag in each entry/group, this is totally wasteful as a single flag in wxFileConfig itself is enough; do reset the dirty flag after Flush()ing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:34:09 +00:00
Vadim Zeitlin
608299859d use wxFileName::MacSetTypeAndCreator() in Flush() instead of duplicating its code here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:18:27 +00:00
Vadim Zeitlin
8482e4bdb9 added wxUmaskChanger class and wxCHANGE_UMASK macro and use them instead of duplicating the same umask-setting code in several places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:12:58 +00:00
Václav Slavík
a761df69a3 fixed menu destruction if it was removed from menubar with Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 21:00:45 +00:00
Václav Slavík
e25c7537ff fixed transiency when the parent is MDI child frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 19:38:32 +00:00
Julian Smart
bdacb147ee Workaround for special menu items not always being enabled. Use
with UI update events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 18:06:15 +00:00
Václav Slavík
7fbe5489ad fixed crash on invalid data (patch 1039453)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 16:31:58 +00:00
Vadim Zeitlin
7d9bf1f11c don't include headers not needed when wxUSE_GUI == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 16:10:46 +00:00
Robert Roebling
06fda9e808 Reworked TLW and app activation event code, also
moved it to toplevel.cpp where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 14:13:48 +00:00
Vadim Zeitlin
e5d4ef7410 store bitmap data in premultiplied by alpha format in wxBitmap/wxDIB (patch 991172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 14:03:52 +00:00
Vadim Zeitlin
57c26f8210 use AlphaBlt() when blitting to a bitmap with alpha channel too (patch 991166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:53:33 +00:00
Vadim Zeitlin
a6fd0fde4c update the disabled buttons appearance when system colours change (followup to patch 1027243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:46:11 +00:00
Vadim Zeitlin
8093538cc5 oops, AdjustFontSize() had no effect; fixed (patch 1037952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:38:22 +00:00
Vadim Zeitlin
6d067eb66a Metrowerks fixes after huge file patch (patch 1037951)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:36:46 +00:00
Ron Lee
6a9046db1e Use the same paranoia we already apply to lib lists we get from configure
to those we get from the user on the command line.  Bubble all duplicates
to occur at their last mention so static linking order is satified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 12:13:02 +00:00
Vadim Zeitlin
0746037046 destroy any TLWs still alive when the app terminates (avoids problems with classes unregistering under MSW and memory leaks everywhere)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 12:11:19 +00:00
Julian Smart
2a3476f24d Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 09:57:15 +00:00
Vadim Zeitlin
74c719ed96 fixes for Metrowerks command line compiler (avoid redefining stuff already defined by configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:19:07 +00:00
Vadim Zeitlin
413a490f94 Metrowerks doesn't have isascii()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:17:23 +00:00
Vadim Zeitlin
b5172775cf $#include "expat_config.h" instead of <expat_config.h> as the file is in current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:16:18 +00:00
Václav Slavík
559f532de1 don't cd into utils/xrc if USE_XRC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 22:10:44 +00:00
Václav Slavík
c62d80605f don't cd into utils/xrc if USE_XRC=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 21:55:11 +00:00
Vadim Zeitlin
bc525d0038 removed non-const wxDC accessors for pens, brushes, ... (bug 1039169)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 21:30:00 +00:00
Vadim Zeitlin
b17f6a307a only use __attribute__(regparm) for x86, this results in warnings under other platforms (e.g. PPC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:52:53 +00:00
Vadim Zeitlin
ba3d13e1c8 use AC_LINK to check for va_copy, not AC_COMPILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:31:34 +00:00
Ryan Norton
6a8b0d4586 warning for 2.5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 19:19:55 +00:00
Vadim Zeitlin
8fa53e0eee added tests for va_copy and va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:33:34 +00:00
Vadim Zeitlin
d85cfb3784 added wxVaCopy() and use it to fix wxVsnprintf() crash (see bug 1017651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:32:31 +00:00
Vadim Zeitlin
ebb97a41da fixed dll import specification of wxGetHInstance()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:21:38 +00:00
Vadim Zeitlin
57e075e99a removed trailing comma from enum (gcc 3.4 compilation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:12:15 +00:00
Václav Slavík
3747d6c0d5 generated resources code doesn't have to include <wx/wx.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 15:30:32 +00:00
Julian Smart
843b368a06 Blind fixes for Mac project files (version number, missing cpp files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 14:07:20 +00:00
Václav Slavík
749bfe9a6d compilation fixes for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 12:36:02 +00:00
Václav Slavík
d2ec8d8488 don't link GUI libs into wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 12:34:29 +00:00
Robin Dunn
0297af1520 Fixed typo, patch from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 18:14:20 +00:00
Ron Lee
22642fb2b8 Filter any arguments back to 2.4.2.6 syntax before
handing them on to a legacy wx-config.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 16:10:54 +00:00
David Elliott
509dcc4b80 wxCocoa needs OpenGL/*.h instead of GL/*.h (for OpenGL.framework includes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:26:19 +00:00
David Elliott
bd2af42857 wxCocoa: Added (mostly) stubs for wxGLCanvas and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:23:59 +00:00
Ron Lee
5173779ec4 Add wxversion/ to the dist tarball.
Prefer 2.5 wx-config in the debs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:02:27 +00:00
Ron Lee
a13a7f891a Add support for legacy 2.4 installs to wx-config.
Add /utils/wxrc to the dist target and fix some things that still
think it is in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 13:28:25 +00:00
Ryan Norton
10c5f652b9 fix const to normal warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 12:40:59 +00:00
Václav Slavík
f987cbb173 use default GUI font in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 11:27:43 +00:00
Václav Slavík
62b45e0694 gcc-3.4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 11:20:46 +00:00
Chris Elliott
fa24326ff0 update script to use vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 10:47:28 +00:00
Ryan Norton
2d347ce894 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:14:30 +00:00
Ryan Norton
dcac15653e OSX only (a runtime check would be preferable as Kevin mentioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:09:42 +00:00
Kevin Hock
326d5a744f Increase status bar height from 15 to 18, allows common 16 x 16 icons and other controls like checkboxes to fit better without special handling (at least until Mac statusbar can determine its own best height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:50:27 +00:00