Commit Graph

9062 Commits

Author SHA1 Message Date
Robin Dunn
49b6ebb7e1 Put back the old wxTreeEvent ctor for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 21:21:36 +00:00
Vadim Zeitlin
2388d9b331 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 18:49:06 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Vadim Zeitlin
57b49e9445 fix VC compilation warnings about implicit int->bool conversion after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:12:05 +00:00
Vadim Zeitlin
a65ffcb229 use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:07:45 +00:00
Vadim Zeitlin
5769347356 remove duplicate m_popupInterface (patch 1509424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:04:27 +00:00
Julian Smart
6334d90353 Added wxPROPSHEET_TREEBOOK option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 08:01:54 +00:00
Vadim Zeitlin
547ceb38ff include wx/msw/metafile.h when wxUSE_WIN_METAFILES_ALWAYS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:37:34 +00:00
Vadim Zeitlin
eeea41abbc force showing 0 in the spin control instead of leaving it empty as the native spin button seems to be content to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 12:20:50 +00:00
Vadim Zeitlin
58772e4992 picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 01:04:44 +00:00
Vadim Zeitlin
ef33382e43 deselect all items when SetSelection(-1) is called (patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:46:32 +00:00
Vadim Zeitlin
be0ac1819a added SetModified() for people who find it easier to understand than MarkDirty/DiscardEdits (patch 1504449)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:39:32 +00:00
Vadim Zeitlin
f5a9eef7c7 define WXMAKINGDLL_QA when WXMAKINGDLL is defined (patch 1502015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:03:33 +00:00
Michael Wetherell
2d672c46c0 Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:msp:75436:ofgfinakfempiciaejof


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 11:18:28 +00:00
Vadim Zeitlin
d5c21b02b5 reorganized VK to WXK translation code to use a table instead of huge switch statement in which it was too easy to get lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:27:02 +00:00
Włodzimierz Skiba
b5c4d59ef4 Fix for dir dialog in dir picker appearing without title and border under universal builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:38:50 +00:00
Włodzimierz Skiba
8dd8666360 Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:22:05 +00:00
Włodzimierz Skiba
841f23e18a Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 07:36:58 +00:00
Włodzimierz Skiba
47a2e1ee4b Fix for wxMGL built with common part of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 14:45:56 +00:00
Włodzimierz Skiba
7c90392a61 Fix for wxOS2 built with common prt of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:57:30 +00:00
Włodzimierz Skiba
582f07c253 [ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Włodzimierz Skiba
df69528b7e Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Włodzimierz Skiba
dd05139a80 Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Paul Cornett
b85229d15b remove redundant GdkBitmap representation from wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540 remove obsolete color cube and image to bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Włodzimierz Skiba
e5d6334238 [ 1507736 ] wxOwnerDrawnComboBox improved list item width checking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:02:10 +00:00
Włodzimierz Skiba
25466131ac Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Stefan Neis
1ebd017e14 Partly reverted changes to Get(Current)Selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Julian Smart
2273efca47 Give app a default wxWidgets icon other than random one e.g. CD-ROM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:07:19 +00:00
Paul Cornett
4f558e23ff build fix for older gtk2, second attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
a0f81e9f15 use AllocExclusive in wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 19:09:28 +00:00
Włodzimierz Skiba
3c15a15128 Header correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 09:31:12 +00:00
Włodzimierz Skiba
b3a44e057b Include wx/region.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:14:51 +00:00
Włodzimierz Skiba
db53c6ea2e [ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 21:10:58 +00:00
Paul Cornett
c668531784 1. more accurate conversion from 8-bit wx color to 16-bit GDK color
2. eliminate possiblity of wxColour RGB values changing depending on colormap
3. don't allow non-const pointer access to internal GdkColor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 19:29:08 +00:00
Włodzimierz Skiba
0433fd85f1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 18:14:22 +00:00
Włodzimierz Skiba
18680f8651 Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Michael Wetherell
ddf6057454 Use bitfields to make wxMouseState smaller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:16:10 +00:00
Dimitri Schoolwerth
8de5222362 forwardported a 2.6 branch fix for misplaced define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:06:24 +00:00
Dimitri Schoolwerth
9d73af583e added alternative definitions for wxASSERT_MSG and wxCHECK2_MSG to fix CodeWarrior warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 12:40:34 +00:00
Michael Wetherell
063708fcce Missing exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 09:13:29 +00:00
Michael Wetherell
2cc833a1bd Cygwin compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 08:39:58 +00:00
Włodzimierz Skiba
48a1108eb8 Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:51:14 +00:00
Włodzimierz Skiba
40b26d752d [ 1492053 ] Add wxVListBox style callbacks to wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:38:47 +00:00
Vadim Zeitlin
392c5133ff show native-looking (with 3D shadow) help tooltips for context help, if possible, using wxCHMHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:46:51 +00:00
Włodzimierz Skiba
7cf41a5d66 Include wx/colour.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:09:39 +00:00
Vadim Zeitlin
d0a84b6338 fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Julian Smart
5637cc3551 Fix for wrong combobox/height being reported if set size is pending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 13:11:53 +00:00
Vadim Zeitlin
be0e5d699f made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Włodzimierz Skiba
0bca037363 Include wx/bitmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:02:19 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Włodzimierz Skiba
aaa6d89a0d Include wx/arrstr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:30:40 +00:00
Vadim Zeitlin
7bd6bf45ad update the real window flags when extended flags change and not only the normal ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:44:53 +00:00
Vadim Zeitlin
af266e5bf7 added possibility to specify modules dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:19:12 +00:00
Vadim Zeitlin
dc26eeb36a make it possible to associate context help text with individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:13:13 +00:00
Vadim Zeitlin
dc6588e771 made it possible to associate context help to a region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:10:32 +00:00
Włodzimierz Skiba
84c3e788d6 Header listed twice removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:29:30 +00:00
Włodzimierz Skiba
3304646d06 Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Robin Dunn
258b2ca681 Applied Patch #1502801: Missing Clone() functions from some events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:27:44 +00:00
Włodzimierz Skiba
5b56bffb33 Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 12:51:01 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Robert Roebling
a84f5f39b8 Correct compilation for GTK < 2.4.
Remove double testing for __WXMGL__ and __WXX11__
    after testing for __UNIVERSAL__


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:05:42 +00:00
Vadim Zeitlin
d5bfbd9ab8 1. renamed wxFontMapper::IsWxFontMapper() to IsDummy() (with reverse semantics)
2. added wxFontMapper::Reset() to only do the cast needed when deleting
   the font mapper object once
3. reset the dummy font mapper created during the app initialization in
   wxFontMapperModule and not in init.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:49:27 +00:00
Julian Smart
55193d61ae Removed comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 08:49:45 +00:00
Włodzimierz Skiba
3a7458677b AUI under wxOS2 build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:07:42 +00:00
Włodzimierz Skiba
be66f18ee1 Source cleaning, wxW headers, whitespaces and improved PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:39:16 +00:00
Julian Smart
08469b1f18 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:05:11 +00:00
Julian Smart
5e4903f5cc Further wxAUI commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:34:54 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Julian Smart
90f9b8ef0c Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Julian Smart
926395e16b Each book control should say what its default orientation. Use this info
if no alignment style, otherwise assertion will happen in GetPageRect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:05:22 +00:00
Vadim Zeitlin
a893b65e62 fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44 of mimecmn.cpp) changes; also renamed wxMimeTypesManagerFactory::Get/SetFactory() to just Get/Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:01:46 +00:00
Stefan Neis
d92f5f03c9 Made additional error codes available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:19 +00:00
Paul Cornett
c757b5fee0 correct access for virtuals, unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:20:23 +00:00
Paul Cornett
8ea30e3603 don't generate a scroll event when setting scroll position from scroll event handler
fix setting scroll position from thumb release event handler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 18:35:29 +00:00
Vadim Zeitlin
317121eac5 take const wxWindow * in wxUxThemeHandle ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 14:56:05 +00:00
Michael Wetherell
80d2a664f8 Compile fix for no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 14:05:54 +00:00
Michael Wetherell
556151f5ff Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Michael Wetherell
9a8362297a Lazy creation of the picker dialogs (Francesco).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 08:17:23 +00:00
Robin Dunn
fc1fde1ee1 DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 17:32:41 +00:00
Włodzimierz Skiba
24bbfc6292 Universal build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 13:18:10 +00:00
Michael Wetherell
5b34e14106 Compile fixes for GTK 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 12:31:56 +00:00
Włodzimierz Skiba
3f26ef3142 Build fix for OW regarding & operator needing full class specs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 10:57:11 +00:00
Włodzimierz Skiba
45f9b662d6 Build fix based on wxOS2 night build log.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:52:03 +00:00
Vadim Zeitlin
d417574519 added possibility to reorder columns by dragging them (patch 1409677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 00:13:19 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Włodzimierz Skiba
3c9e913f6f PCH support for !MSW/!autoconf platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 12:18:02 +00:00
Włodzimierz Skiba
a6f7daee0b Missing items for default DMC distribution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 12:41:41 +00:00
Włodzimierz Skiba
a9e8bf2dd9 [ 1494561 ] wxComboCtrl vertical size fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 09:17:45 +00:00
Włodzimierz Skiba
e031f1df56 wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Włodzimierz Skiba
dd74a8f6aa Source markup fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:12:51 +00:00
Robin Dunn
a9c10f79d2 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:31:03 +00:00
Robin Dunn
870597ef5e hyperlink is in adv, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:07:30 +00:00
Włodzimierz Skiba
b41af6aa0f Updated universal setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:34 +00:00
Vadim Zeitlin
4af8f6ef9b added missing include after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:51:42 +00:00
Włodzimierz Skiba
9e6aca686c Keep FindString in sync with wxControlWithItems base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:11:40 +00:00
Vadim Zeitlin
7e2b786046 override all Detach() overloads in wxStaticBoxSizer to avoid virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 12:12:23 +00:00
Włodzimierz Skiba
3cb3b8b84d NO_GCC_PRAGMA removed from hyperlink code. Clipboard markup added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:14:34 +00:00
Vadim Zeitlin
649cfca1ce don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 09:58:53 +00:00
Włodzimierz Skiba
01f242e264 Use same path in header as user should use in his #include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:36:41 +00:00
Włodzimierz Skiba
98159dd8b6 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:31:24 +00:00
Włodzimierz Skiba
2858324691 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:23:02 +00:00
Paul Cornett
706e740f50 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:53:31 +00:00
Paul Cornett
f79f1604a0 revert forward declaration of hashmap, it doesn't work with STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:52:46 +00:00
Włodzimierz Skiba
f8ba4cb61a Use complete class for delete of the class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:48:01 +00:00
Vadim Zeitlin
85ab460e7d miscellaneous wxFont enhancements (patch 1496606):
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb implemented notifications of the child process termination (patch 1494439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
347f5baaa1 readded back wxDD_NEW_DIR_BUTTON removed by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:34:47 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Włodzimierz Skiba
34deaa9362 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:08:31 +00:00
Vadim Zeitlin
1c756ac814 allow specifying the style for wxHtmlHelpController used as fallback by wxBestHelpController (patch 1485669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:07:02 +00:00
Vadim Zeitlin
a552d1201f fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
fd0bab4353 use dynamic array for the page breaks positions (patch 1483976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Michael Wetherell
515a581d0d Export the event types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:40:20 +00:00
Vadim Zeitlin
e978011a40 delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
8e1a5bf979 added SetDoubleBuffered() (patch 1491093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Vadim Zeitlin
0a089246e7 wizards not using sizers for the page layout now work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Vadim Zeitlin
6540132fa1 wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Vadim Zeitlin
355debca06 added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Paul Cornett
ed32fb5b21 fix incomplete change in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:44:49 +00:00
Paul Cornett
e7445ff8ee move some data definitions to more appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +00:00
Włodzimierz Skiba
88060820ac wxToggleButton for wxUniv already implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:09:50 +00:00
Vadim Zeitlin
a18c21f000 show help for the page under mouse when the [?] button is used to request help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:23:24 +00:00
Vadim Zeitlin
3276179da6 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:22:24 +00:00
Vadim Zeitlin
b107e8d578 added help event origin field: indicates if the help was requested using the mouse or from keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
851b88c310 moved wxNotebook::HitTest() to the base book control class; implemented it for wxList/Treebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:09:44 +00:00
Paul Cornett
9cdf21473a unused declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:46:00 +00:00
Włodzimierz Skiba
f1a4ca62a9 __WXHANDHELD__ introduction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:57:04 +00:00
Paul Cornett
bd88c1fa96 derive univ toggle button from button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 17:17:27 +00:00
Włodzimierz Skiba
1c4743aa20 [ 1493780 ] wxOwnerDrawnComboBox warnings fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:44:56 +00:00
Włodzimierz Skiba
7ca4ac6383 [ 1493802 ] Allow multiple wxComboCtrl::SetPopupControl calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 09:29:06 +00:00
Paul Cornett
13199c3dcb correct access for virtuals, other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 05:03:00 +00:00
Julian Smart
43be3c33f3 Applied patch 1489656: support for wxToggleButton under wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 17:53:50 +00:00
Włodzimierz Skiba
0164f8ebfd Improved wxDCPen/BrushChangers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 14:11:55 +00:00
Julian Smart
063d8a571c Applied patch [ 1489638 ] Trivial bugfix - missing constructor in wxGenericFontDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:16:47 +00:00
Robin Dunn
c1f50b06ec I've now seen 2 or 3 themes that need this extra space in a label-less
static box, so I'm checking in my GetBordersForSizer change discussed
on wx-dev a few weeks ago.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:04:01 +00:00
Paul Cornett
c259ffdff7 unused win_gtk stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 17:51:55 +00:00
Włodzimierz Skiba
4660e6acfc Introduced wxDCPenChanger and wxDCBrushChanger.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-22 14:25:35 +00:00
Włodzimierz Skiba
e4e11217be [ 1492040 ] Prevent wxComboCtrl::GetPopupControl from failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 23:35:23 +00:00
Włodzimierz Skiba
3bc2d7aeda Non-PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 22:53:46 +00:00
Paul Cornett
24c2029f69 parenthesize macro replacement containing operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 06:47:11 +00:00
Paul Cornett
dd0d56f5c7 remove unneeded includes from mac/carbon/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:47:39 +00:00
Paul Cornett
813b6b3f88 correct wxString forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:44:22 +00:00
Paul Cornett
eb721ee29f remove unneeded declarations missed in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:41:27 +00:00
Włodzimierz Skiba
e36bdde2c2 wxUniv setup up to date (sync. before joining family of setups updated by script).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 18:44:07 +00:00
Paul Cornett
12a480c12d gtk slider code simplification and better event determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Paul Cornett
49ca2a9920 using defined in a macro has undefined behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:07 +00:00
Paul Cornett
7c98266873 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 15:12:56 +00:00
Paul Cornett
dbaf49a996 non-pch universal build fix: combo.h should not include combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:21:20 +00:00
Paul Cornett
7f81dfa1a0 gtk spinctrl code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Julian Smart
7c3840677c Fixed tree book controller sizing by invalidating size after first
insertion, and also allowing full size calculation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:33:17 +00:00
Włodzimierz Skiba
85855db1c4 Missing #includes to allow wx/mac/carbon/tooltip.h be included first by user.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 06:45:59 +00:00
Paul Cornett
a01ed326cc spinbutton code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
6ab4491a6d added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:52:48 +00:00
Vadim Zeitlin
7c2b7791e5 fixed typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:51:25 +00:00
Vadim Zeitlin
725566cab4 suppress gcc printf format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Vadim Zeitlin
54933611e8 added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:40:16 +00:00
Julian Smart
83eabba429 Fixes for compile breakage with no PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Vadim Zeitlin
ca7aeeb7d2 reset fd after closing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Włodzimierz Skiba
25a9f2912d Missing 'int' interface for wxPlatform.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Paul Cornett
add7cadd99 scrollbar handling simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Vadim Zeitlin
6964cbbac9 make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347 removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Mart Raudsepp
7e983dabef Fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 13:43:35 +00:00
Vadim Zeitlin
c0f482800a fix OpenWatcom warning (patch from Jaakko Salli)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:04:28 +00:00
Vadim Zeitlin
c98e80d98d correct dll declaration (the classes in the header are part of adv library, not core)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 19:31:50 +00:00
Vadim Zeitlin
78c9181500 added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Paul Cornett
dcc8cf5ae3 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 17:08:45 +00:00
Vadim Zeitlin
e16514bf08 test that wxUSE_DATAVIEWCTRL is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 13:00:33 +00:00
Vadim Zeitlin
481e2766c2 test that wxUSE_OWNERDRAWNCOMBOBOX and wxUSE_COMBOCONTROL are defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 12:58:27 +00:00
Paul Cornett
8539643021 unused member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
6d0ce565ff fixes and missing files from the first wxComboControl patch (update of patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:18:19 +00:00
Vadim Zeitlin
65b977e5b3 mbstate-t related fix for CW8.3 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 14:26:48 +00:00
Vadim Zeitlin
899eacc753 removed spurious trailing commas in enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 11:11:07 +00:00
Vadim Zeitlin
28cbbe69df added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 00:04:35 +00:00
Vadim Zeitlin
21849f3a8e added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:46:37 +00:00
Vadim Zeitlin
a340b80d8a wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Vadim Zeitlin
cd4e32afe7 added conversion ctor to create const_iterator from iterator, otherwise assigning the return value of begin() called on a non-const object to a const_iteator didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:26:39 +00:00
Vadim Zeitlin
af867f957d fixed operator[] in wxUSE_STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 21:25:00 +00:00
Włodzimierz Skiba
ed8219a5e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 11:31:03 +00:00
Włodzimierz Skiba
dd4e6da0e0 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:27:17 +00:00
Włodzimierz Skiba
0799bc868e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:05:40 +00:00
Vadim Zeitlin
9ea1246ba6 added operator[] for STL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:56:59 +00:00
Paul Cornett
b45c2fe579 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:14:50 +00:00
Vadim Zeitlin
141d782d56 misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Vadim Zeitlin
4523ebb3f1 simplify the client data/non standard images handling code by unconditionally using wxTreeItemParam struct instead of using indirect data only sometimes; also extend it to contain the id which allows to always sort the items correctly (closes bug 1447419) (patch 1449096 from Ryan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:17:22 +00:00
Vadim Zeitlin
3affcd078b added wxString::EndsWith() (patch 1483049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Vadim Zeitlin
9b2a74693e allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:59:59 +00:00
Vadim Zeitlin
53ee60908a added wxTextAttr::Merge (modified patch 1482719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:16:25 +00:00
Vadim Zeitlin
593ac33e50 added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to ensure that per item client data is set correctly in the generated events (replaces patch 1476171; closes bug 1470505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:48:27 +00:00
Włodzimierz Skiba
e8ee8f2716 Helper for clipping to range.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:28:33 +00:00
Paul Cornett
cb3db09022 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:04:48 +00:00