Commit Graph

34720 Commits

Author SHA1 Message Date
Robin Dunn
a6c129111b Don't use a saved label size incase the size changes. Patch from Hong Yuan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:48:47 +00:00
Vadim Zeitlin
fca418ae12 call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Robin Dunn
7521630773 wxPyDataObjectSimple::SetData should not be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:19:20 +00:00
Stefan Neis
5824777356 Added support for MirOS, an OpenBSD variant (patch #1520208).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 08:59:53 +00:00
Benjamin Williams
461125ea4d renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Robin Dunn
81f5836b89 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 00:19:25 +00:00
Robin Dunn
1d5ee7493b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 21:17:27 +00:00
Benjamin Williams
673727f39c wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Robin Dunn
a2cccbc3f3 docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:21:05 +00:00
Benjamin Williams
a189504e7f wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Włodzimierz Skiba
315a592c4e Fixed crash in book pages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 12:40:38 +00:00
Włodzimierz Skiba
a7a11b21f5 Fixed conflict between wxFilePicker and wxButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 07:53:25 +00:00
Václav Slavík
f5bed7a885 refresh tree item after changing its icon so that the change is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:28:19 +00:00
Václav Slavík
0c36b36e98 test changing of selected item's icon in DoToggleIcon as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 22:27:36 +00:00
Robin Dunn
8c9126acc1 Adjust control size after Play
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:02:25 +00:00
Robin Dunn
619d593006 Overview string tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:43 +00:00
Robin Dunn
d04fcda14c allow transparency flags on mac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 17:00:06 +00:00
Robin Dunn
a0c6044d7d remove WXDLLEXPORT modifiers since this isn't in the wx DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:58:21 +00:00
Robin Dunn
27e4589253 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:45:25 +00:00
Robin Dunn
3903f40824 pywrap should be treated as a gui script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:04:31 +00:00
Robin Dunn
1200ae167b Added the PseudoDC class from Paul Lanier. It provides a way to
record operations on a DC and then play them back later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:03:51 +00:00
Robin Dunn
4c16bedf17 Doh! I changed the AddPane parameter names but didn't change their usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:02:19 +00:00
Robin Dunn
7e664d85e6 Added the PseudoDC class from Paul Lanier. It provides a way to
record operations on a DC and then play them back later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 15:06:31 +00:00
Stefan Neis
8e372bbe07 Added implementation for wxGetKeyState and wxGetMouseState.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Mart Raudsepp
370b406c71 Use PangoFontMetrics to get wxDC::GetCharHeight, because that's the proper and clean way to get the body size of a
particular font, and it doesn't go through all the layoutting code (hence, 20-35% quicker than measuring H for
logical extents).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 03:46:01 +00:00
Benjamin Williams
dec588bd6e reverted an earlier patch that was causing problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 18:50:18 +00:00
Kevin Ollivier
3335d62252 Give MSVS project files DOS line endings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 05:43:51 +00:00
Robin Dunn
af672b5ae8 Add wxRTTI info for the event class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:19:03 +00:00
Robin Dunn
febb39df07 Added wrappers for wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:13:59 +00:00
Robin Dunn
06d4c4d65a Changes needed for scanning the aui header files with SWIG for
wxPython.  Also fix some DLL exports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 17:53:17 +00:00
Włodzimierz Skiba
8fdc4ac7b8 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:57:02 +00:00
Alex Bligh
205515afd7 Added style wxTE_PROCESS_ENTER for wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 10:00:53 +00:00
Robin Dunn
0b2bbd174f Need to skipp the first half of ShowHint if the platform doesn't
have transparency support yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 05:58:48 +00:00
Kevin Ollivier
eb33893c47 Make sure it creates the directory where tarballs are stored if it doesn't exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 23:31:22 +00:00
Vadim Zeitlin
9ffab13f6d gcc -Wundef warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 23:01:29 +00:00
Robin Dunn
9165401fbe Undeprecate wxGetNumberFromUser, add wxNumberEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 22:15:24 +00:00
Robin Dunn
2b73a34e1b properly offset the mouse position for the label window clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 22:13:24 +00:00
Alex Bligh
25ae9fb8ca wxComboCtrlBase: Fix SEGV due to double deletion where SetPopupControl is called twice after lazy creation of the popup, the first deleting m_popupExtraHandler and the second attempting to delete it a second time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 19:19:04 +00:00
Alex Bligh
d9e0958c7e Added GetWidestItem() and GetWidestItemWidth() to wxVListBoxComboPopup
and wxOwnerDrawnComboBox as per Jaakko Salli


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 17:42:39 +00:00
Włodzimierz Skiba
ca5db7b213 Dummy stub for wxGetMouseState() (tinderbox build fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 12:24:23 +00:00
Włodzimierz Skiba
a1b3b60832 Tinderbox warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 10:47:29 +00:00
Włodzimierz Skiba
23f826bdf9 wxRound() workaround to avoid unexpected compile and link errors on incomplete environments (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 09:09:09 +00:00
Włodzimierz Skiba
2ea6c1f77a Temporarily disable colour picker to keep build working and bofore finding nice replacement for smartphone build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 07:07:52 +00:00
Włodzimierz Skiba
c5197da440 Missing include for wxCocoa build at Tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 06:47:13 +00:00
Vadim Zeitlin
7c5cd6e9ad wxMenu::AppendRadioItem() now implemented under all platforms but wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:17:50 +00:00
Vadim Zeitlin
468c46935a use ZIP entry modification time, not the (inexistent) file modification time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:14:26 +00:00
Robin Dunn
2713fedc46 Oops, I misremembered the name of wxUnusedVar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:01:29 +00:00
Robin Dunn
81cc4eb227 Enable transparent hints and dragging on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:48:19 +00:00
Alex Bligh
5c62cb6c7d wxAUI: maintain minimum size of panes across dock/undock.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:09:33 +00:00
Robin Dunn
110fa1739c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 18:54:51 +00:00