Commit Graph

39503 Commits

Author SHA1 Message Date
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
Robin Dunn
d67347f960 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:49:25 +00:00
Stefan Csomor
b56eab36ac if it's a separate thread, it's allowed to hang (perf issue reported by BOINC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 04:52:26 +00:00
Robin Dunn
422771b89d select the parent or the root if the current/selected item is one
being deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:50:20 +00:00
Robin Dunn
770b865b66 add a Py 2.5 build on OSX 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:48:37 +00:00
Robin Dunn
d637430584 test app for TLW transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:46:23 +00:00
Robin Dunn
6b4b24eee9 Avoid using wx.ClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:48 +00:00
Robin Dunn
551c802495 Adapt to ProgressDialog.Update change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:04 +00:00
Robin Dunn
1130e951de docstring fixEnsure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:42:20 +00:00
Robin Dunn
0d7fe3edac Ensure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:41:40 +00:00
Robin Dunn
fed4b83921 SetFont fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:40:07 +00:00
Robin Dunn
03c88f6092 more backports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:34:23 +00:00