Commit Graph

16983 Commits

Author SHA1 Message Date
Julian Smart
094cb15ba0 It turns out there was a change to mimetype.h (addition of
parameters) so must revert the previous backport.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:09:15 +00:00
Julian Smart
e5490e6eb8 Add support for GTK2 label mnemonics
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:55:52 +00:00
Julian Smart
91c04f6445 Improved X11 ShowFullScreen
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:43:12 +00:00
Julian Smart
b5bc85ca42 Backported fix: use GNOME2's /usr/share/pixmaps/document-icons in wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:20:10 +00:00
Julian Smart
680011889d Fixes for compilation with OpenWatcom
Backport from head: most were already applied


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:17:05 +00:00
Julian Smart
af21489292 Backported wxrc fixes from head
1) fixed compilation of wxBitmap, wxIcon toplevel nodes
2) fixed wxrc when using -o dirname/filename


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:09:23 +00:00
Julian Smart
2d50f4b5f2 Applied [ 703260 ] wxFontEncoding Problem
Backported from trunk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:53:16 +00:00
Julian Smart
466a7a71c7 Implement wxExecute with proper callback on Mac OS X
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:47:48 +00:00
Julian Smart
5b7fd7d337 Implemented wxTextCtrl::Remove/Replace() for GTK2
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:38:28 +00:00
Julian Smart
0cf2523391 Applied patch [ 705441 ] Radio button consecutive groups bug
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:33:52 +00:00
Julian Smart
2b3986f719 Alt-letter didn't switch focus to a spin ctrl following static control
with "&letter" accel
Backport from head for
http://sf.net/tracker/index.php?func=detail&aid=672974&group_id=9863&atid=109863


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:28:12 +00:00
Julian Smart
846173c976 Fix for bug whereby owner-drawn buttons didn't draw multiline labels correctly
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:23:09 +00:00
Julian Smart
a5243c0dbe Accept '\r' as delimiter when parsing dates (bug #684617)
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:39:39 +00:00
Julian Smart
bf9728b3d7 Fixed memory leak in generic wxFileDialog
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:36:12 +00:00
Julian Smart
3fd1786b81 Fixed memory leak in wxMimeTypesManager
backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:30:54 +00:00
Julian Smart
2c7015513f Applied [ 668155 ] Refresh problem when msgbox is shown (wxUniversal)
Backport with modification from CVS head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:19:53 +00:00
Julian Smart
0733b715d6 Fix for wxProgressDialog::Update() signature
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:15:37 +00:00
Julian Smart
c9cdb51104 Fixes for wxLocale::Init and Borland C++
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:08:12 +00:00
Julian Smart
9e1c4c0ab4 Use ES_DISABLENOSCROLL to work around the vertical scrollbar bug in
wxTE_RICH2 text control
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:03:08 +00:00
Julian Smart
091adf6727 wxCondition doc update from head
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:52:13 +00:00
Julian Smart
410b0c776d wxFrame::Maximize(FALSE) would maximize the window if
called before showing it
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:45:30 +00:00
Julian Smart
b0b5189e03 wxStopWatch::Start() didn't resume it contrary to the docs
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:41:57 +00:00
Julian Smart
3b4b3d8550 Fix for deleting entries at root level in wxFileConfig
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:38:19 +00:00
Julian Smart
e05c4ff66a Backported [ 622089 ] wxTR_EDIT_LABELS vs wxTR_MULTIPLE style
Fix for wxTreeCtrl label editing in wxTR_MULTIPLE mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:31:20 +00:00
Julian Smart
87d05605b5 wxCaret::SetSize correction for showing caret
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:26:29 +00:00
Julian Smart
bc9406afe6 Fx for sending event from wxCheckListBox::Check().
Backported from head.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:20:49 +00:00
Julian Smart
9856829d76 Fix for explicit keyword detection (VC++)
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:06:36 +00:00
Julian Smart
eddd296499 Don't use stipples in DoDrawText (backported from CVS head)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:28:14 +00:00
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