Commit Graph

16955 Commits

Author SHA1 Message Date
Julian Smart
bed2d80c90 Set orientation for scrollbar events (backported from CVS head)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:23:01 +00:00
Julian Smart
09007b50a0 Fixed assert (and crash in debug) in wxFileConfigGroup::DeleteSubgroupByName
Backported from CVS head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:19:23 +00:00
Julian Smart
98a67aa507 Backported SetScrollbars bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:03:09 +00:00
Julian Smart
6c11eb5b41 Backported fix: wxMSW::wxStaticText::GetBestSize() was wrong by '&' width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 11:35:32 +00:00
Julian Smart
f7732c4385 Fix for getting all frames from GIF animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 18:59:50 +00:00
Julian Smart
5a242608b5 Reverted previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 13:11:25 +00:00
Julian Smart
756284f00a Applied patch [ 715449 ] Fix MSW cursor errors
(already implicit in CVS trunk)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:51:54 +00:00
Julian Smart
0bab18a8e0 Added a const for CW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:38:18 +00:00
Julian Smart
9279e47404 Applied patch [ 705301 ] Don't send event for wxSplitter::Unsplit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:34:59 +00:00
Robin Dunn
031febef4f Handle checkable items the right way in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:21:38 +00:00
Robin Dunn
ffa0f3dd9b Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:59:07 +00:00
Robin Dunn
915f4a09b5 Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:51:27 +00:00
Robin Dunn
d38b3b9620 Made an eopty stub of SetSelection for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:34:41 +00:00
Roger Gammans
09e6ff8c42 * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
* ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

 * check on uses of YToRow() / XToCol() and replace with
   calls internalYToRow() / internalXToCol() removing any external
   overflow handling where appropriate.

* Add tests for overflow to prevent sending 'off grid' label events,
   would be indistinguishable from CornerLabel events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:08:43 +00:00
Robin Dunn
8ac35652ba Correction to my new menu code: handle submenus on menubar menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:01:52 +00:00
Robin Dunn
0cc89f950e Fix menu event propogation to be consistent across platforms, and with
the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:40:46 +00:00
Robin Dunn
073233381b Fixed menu event propogation to be consistent across platforms, and
with the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:39:20 +00:00
Julian Smart
b6f6e5a77e Applied patch [ 706329 ] [wxMac] Fixes wxGetLocalTimeMillis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:01:59 +00:00
Julian Smart
4db672bd7c Applied patch [ 708377 ] Make NET (smapi.cpp) UNICODE compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:42:56 +00:00
Julian Smart
54a6eb4dee Applied patch [ 713459 ] wxUniv/GTK compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:29:07 +00:00
Julian Smart
d8134e0bec Unicode-enabled the STC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Robin Dunn
24d3bad8d6 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:49:09 +00:00
Robin Dunn
592778bad6 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:59 +00:00
Robin Dunn
9f8ef6c168 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:43 +00:00
Robin Dunn
9339eb0fe4 fixed typo in parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:54 +00:00
Robin Dunn
11acaf87d7 Added SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:33 +00:00
Robin Dunn
a0973ce40c Added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:03 +00:00
Robin Dunn
3bd7099bb4 removed special case for wxMac, not needed any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:21:19 +00:00
Julian Smart
f17ce86047 Applied patch [ 705212 ] wxTextCtrl::SetSelection() for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:55:42 +00:00
Julian Smart
8686744068 Applied [ 703017 ] TreeCtrl sample build fails when using generic control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:40:35 +00:00
Julian Smart
3dbebf5144 Applied patch [ 700313 ] Allow wxUSE_OWNER_DRAWN = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:26:58 +00:00
Julian Smart
125372dd45 Applied [ 700293 ] FL Unicode patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:14:13 +00:00
Julian Smart
46be20d9be Applied patch [ 694561 ] FL Release build DLL include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:15:10 +00:00
Julian Smart
84406ac8be Fixed version convention for VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:07:24 +00:00
Robin Dunn
58ccbbc7b7 Made the version number information more robust and uh, informative.
Also added asserts to check that the major.minor versions of wxPython
and wxWindows match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:49:07 +00:00
Robin Dunn
d842ec8482 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:47:11 +00:00
Robin Dunn
509b8f9b5f Added missing method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:56 +00:00
Robin Dunn
4d2a9c1a5f cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:44 +00:00
Julian Smart
e63aab5adf Version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 16:49:41 +00:00
Robin Dunn
e44b4b86f1 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 05:15:09 +00:00
Robin Dunn
9d05742271 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:51:26 +00:00
Robin Dunn
c47e337d22 Forgot to add this image...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:50:41 +00:00
Robin Dunn
66a1929a95 Updated ShapedWindow demo, don't try to start out without the shape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:40:21 +00:00
Robin Dunn
8756135df1 README tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:39:39 +00:00
Robin Dunn
f6f41ac61a SWIGged code updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:38:07 +00:00
Robin Dunn
c21b5bcd98 Changed wxSWIG to not generate Python code using apply, (since it will
be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax
instead.  Also changed the generated __repr__ methods to be a bit more
informative.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:36:08 +00:00
Václav Slavík
9137f764b6 XRC's unknown widget container handles removal of the widget now (backported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 22:03:28 +00:00
Mattia Barbon
deae97bfa5 Applied patch [ 702254 ] Life: Fix to page scrolling
from Hugh Gibson (backport).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:15:24 +00:00
Robin Dunn
ebad4a640c Fixed compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:22:12 +00:00
Robin Dunn
2469ff1643 Allow label edits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:21:50 +00:00