Commit Graph

39664 Commits

Author SHA1 Message Date
Robin Dunn
cf151d7e00 Fix pywxrc's generation of menu and menubar classes and aldo fix how
it generates attributes for menus, menubars and menuitems comtained in
other objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:56:25 +00:00
Robin Dunn
d9f0e96051 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:54:09 +00:00
Robin Dunn
bc8f0f9d07 Disable the for loop in ~wxAuiManager to avoid possibly accessing
memory via bad pointers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:23:34 +00:00
Robert Roebling
1e3847f4b9 Call wxKeyEvent::SetEventObject() if no last key event
available from which it is otherwise copied.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 16:48:46 +00:00
Robin Dunn
dad1c9b9ae rename new image, add to encode_bitmaps.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:28:01 +00:00
Kevin Ollivier
d330c453a5 Don't highlight the active pane, and add source png for the custom control to the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:08:33 +00:00
Vadim Zeitlin
86f2f2101e use LRESULT instead of LONG in MSWOnDraw() to fix it under Win64 (bug 1715591) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:05:02 +00:00
Vadim Zeitlin
9038e724d3 don't try to update TLW default button in WM_SET/KILLFOCUS handlers if the TLW is being deleted (bug 1660913) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 13:04:33 +00:00
Robert Roebling
843179c40f Mention printer change in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 09:27:29 +00:00
Robert Roebling
491c407519 Support setting paper size, collate and orientation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 09:23:16 +00:00
Robin Dunn
38d5d92565 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:46:17 +00:00
Robin Dunn
321f7d7394 Don't allow AUI flaotables by default and remove the Options menu
since it is mostly about AUI stuff.

Change the tree icon when there is user-modified code.

Save and restore the current item and the expansion state when
rebuilding the tree.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:42:16 +00:00
Mart Raudsepp
5dd5470a3b [wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if GTK+ version is at least 2.11. This is for future benefits as stable gtk+-2.12 should come out much before wxWidgets new stable cycle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:25:07 +00:00
Robin Dunn
36def90d09 The handlers for EVT_CLOSE and EVT_MENU(wx.ID_EXIT) should not be the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:22:27 +00:00
Robin Dunn
2afefd2523 Mention the actual version of TreeMixin we are using
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:18:38 +00:00
Robin Dunn
45d023b7d2 fix default styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:17:59 +00:00
Vadim Zeitlin
4871a65d6f declare variables in the beginning of the block in C files [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 15:10:04 +00:00
Vadim Zeitlin
2fa68e336b fix unused variable warning under non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:07:41 +00:00
Vadim Zeitlin
3fe1a32c22 remove unused static function (avoids a warning about it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:06:45 +00:00
Vadim Zeitlin
fc56ba9552 use .c_str() inside vararg functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:05:08 +00:00
Vadim Zeitlin
9ae4fd9db4 added wxListCtrl::SetItemPtrData() to allow associating pointers with items under 64 bit architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:02:21 +00:00
Robin Dunn
1ac4f9d97b Add a few more tips for the tip window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:59:06 +00:00
Robin Dunn
824b3e0ab8 Use a wx.FileConfig to store options, and use wx.StandardPaths to know
where to put it.  Also use this dir for the cache of modified sample
files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:58:44 +00:00
Vadim Zeitlin
9fbac28b2d require libsm-dev, it's needed for KDE/GNOME detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:48:47 +00:00
Vadim Zeitlin
846f84d3f1 regenerated with autoconf 2.59 to avoid warnings about Makefile ignoring --datarootdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:38:00 +00:00
Robin Dunn
a369962eda Bail out of SetTreeModified if not using the CustomTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:17:38 +00:00
Vadim Zeitlin
bc98b9c3d1 added 2.8.4-0 entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:11:56 +00:00
Vadim Zeitlin
7359bd292f define wxConvCurrent when wxUSE_WCHAR_T==0 too, this fixes wxMGL link in this build configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 18:10:26 +00:00
Vadim Zeitlin
5576149ba6 test for round() using C++ compiler, not C one (should fix IRIX mipsPro build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 16:14:05 +00:00
Robin Dunn
2440002b75 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:52:43 +00:00
Robin Dunn
b4e7d19cea reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:51:28 +00:00
Robin Dunn
718170fcde backport more icon changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:50:13 +00:00
Robin Dunn
66b9271785 More icon changes (backport),
process UPDATE_UI for move and refresh buttons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Bryan Petty
39406bda13 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Robin Dunn
98c16c304e no need to import customtreectrl here,
switch to """ instead of '''


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:30 +00:00
Robin Dunn
a329847b07 Need to UnInit the AuiManager when closing the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:02 +00:00
Robin Dunn
52f1f72876 Need the sound flags for the !wxUSE_SOUND case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:36:40 +00:00
Robin Dunn
8e5daaa57c Use native wx.TreeCtrl by default, but make it easy to switch back to
CustomTreeCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:35:57 +00:00
Robin Dunn
1ee028bf83 some new icons for XRCed (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Bryan Petty
4a71e14016 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Robin Dunn
2405814403 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:42:31 +00:00
Robin Dunn
04b3d5e844 Andrea's patch (plus some changes of my own) to add icons and other
features to the demo's main frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:36:58 +00:00
Vadim Zeitlin
bd33fd3e22 only add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later, previous versions didn't support this warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:20:57 +00:00
Robin Dunn
a599423672 Prevent segfaulting if a NULL window is passed to the DCs, avoid
reasserting if the base class already did it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:10:47 +00:00
Robin Dunn
2033f5ec6a A bit of cleanup, use a lighter shade of grey for the default pen, use
the base class HasFlag, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:09:21 +00:00
Vadim Zeitlin
e9528e32da compilation fixes for wxUSE_WCHAR_T==0 (this is the case for DJGPP which is used for wxMGL compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:05:16 +00:00
Paul Cornett
5df5d12d5e don't stomp on user CXXFLAGS on Tru64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:35:25 +00:00
Robin Dunn
5ff565de94 delete the AuiManager before destroying the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:51:21 +00:00
Robin Dunn
9e47df4fba fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:36 +00:00
Robin Dunn
f24fd27a8e Workaround corner case where a widget can have a containing sizer, but
no sizer item.  (The static box in a StaticBoxSizer)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:15 +00:00