Commit Graph

27622 Commits

Author SHA1 Message Date
Kevin Hock
262ce38a2a Added back compile-time check for about/prefs menu separator; OS 9 should not have this separator appended. Can be changed later if needed to run-time check. This is better than nothing before 2.5.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 16:15:30 +00:00
Stefan Csomor
0bf1e7cb96 adjusting DoGetBestSize according MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 11:53:07 +00:00
Vadim Zeitlin
27db421056 cleaning up strdup/isascii definitions for compilers which lack them (should fix CW CFM build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:57:40 +00:00
Robert Roebling
3c4e4af64e Make wxComboBox spit out a bit fewer surplis
events when holding down the mouse button.
 Enable key based navigation through notebook
   tabs as in the native control with Left and
   right keys. Support for vetoing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:11:18 +00:00
Robin Dunn
5f24651b5c Deprecated EVT_LIST_GET_INFO and EVT_LIST_SET_INFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:53:01 +00:00
Robin Dunn
82bd61672d Typedef for wxUIntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:52:20 +00:00
Robin Dunn
45c82204b9 Added wx.App.IsMainLoopRunning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:51:43 +00:00
Ryan Norton
d2518be484 default pos/size cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 19:17:48 +00:00
Robin Dunn
d5a0636fa0 Improve image hittest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 18:24:13 +00:00
Robert Roebling
576f712776 Fixed missing focus problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 16:17:21 +00:00
Václav Slavík
a565f84b6f added wxRB_SINGLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:42:37 +00:00
Włodzimierz Skiba
254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
David Elliott
908686c52e Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
that the newly implement wxButton::DoGetBestSize() is not used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:50:17 +00:00
David Elliott
635f01472e Implement wxButtonBase::GetDefaultSize()
Implement wxButton::DoGetBestSize() to return at least 68 pixel width unless
wxBU_EXACTFIT flag is given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:49:05 +00:00
David Elliott
d1adc25737 Added wxAutoNSAutoreleasePool where needed for controls sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 23:47:49 +00:00
Włodzimierz Skiba
8f6eaec925 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:25:15 +00:00
Vadim Zeitlin
9b0db4529f made IsMainLoopRunning() static and implemented it for wxAppConsole too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:21:44 +00:00
Robin Dunn
30bbdf96e5 fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:06:35 +00:00
Włodzimierz Skiba
44e0daa1d2 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:03:27 +00:00
Włodzimierz Skiba
0203c8cd67 Warning fixes to most detailed warning output of OpenWatcom. Tested under Borland, DigitalMars and MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 19:47:55 +00:00
Robin Dunn
890976b89f Bail out if GetCurrentMenu returns NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 19:28:13 +00:00
Julian Smart
3134f9338b Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 16:11:04 +00:00
Ryan Norton
190c958182 native wxFontDialog for carbon, second shot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:36:28 +00:00
Dimitri Schoolwerth
a8d628fcc5 added missing include for non-PCH compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:23:43 +00:00
Włodzimierz Skiba
f510b7b2f3 Missed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor/-ctor addition in anchors. Content and links to TCP/DDE/Base Server/Client/Connection in correct places.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:13:52 +00:00
Vadim Zeitlin
90fc4a0ccb don't use non blocking sockets if wxApp::IsMainLoopRunnning() returns false (closes 994293)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:52:32 +00:00
Vadim Zeitlin
5f4f5b58f6 added wxApp::IsMainLoopRunnning() (see bug 994293)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:51:11 +00:00
Vadim Zeitlin
9413911860 added tests for deleting and renaming entries and groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:38:08 +00:00
Vadim Zeitlin
6dda7a7521 assert that name, not full path, is used in RenameEntry(); fixed RenameGroup() which was completely broken for groups with subgroups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:37:45 +00:00
Vadim Zeitlin
701fb11eb5 fixed deletion of last group in the config file (bugs 849088 and 902147)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:18:11 +00:00
Vadim Zeitlin
c8adf5ef39 don't try to delete our config file in DeleteAll() if we don't have any; don't assert when trying to delete an entry which doesn't exist (for consistency with DeleteGroup() and wxRegConfig)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:53:23 +00:00
Vadim Zeitlin
45d51f194a don't add dummy empty line at the end when reading from stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:42:58 +00:00
Vadim Zeitlin
4c420a80e0 small optimization in wxConfigPathChanger: don't change the path if it is already the same as requested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:29:15 +00:00
Vadim Zeitlin
384198de1b forward declare wxOutputStream (compilation fix for !USE_PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:28:14 +00:00
Vadim Zeitlin
835fab506e blind warning fix in wxUmaskChanger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:26:55 +00:00
Vadim Zeitlin
9db6158ab8 added SetPath(), entries and groups enumerations tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:24:28 +00:00
Ron Lee
fdefae196a Clean up the soversion/flavour labelling of binary runtime packages.
Split out a common wxPython package so the runtime support for it
doesn't need to conflict any more either.

Makefile.in was apparently committed from out of date bakefiles
so it is included here again too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 05:14:55 +00:00
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