Commit Graph

8978 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Alex Bligh
dd5efcb7b8 Remove bogus include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 17:10:15 +00:00
Benjamin Williams
5875464394 added EVT_AUI_PANECLOSE and updated sample accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:38:02 +00:00
Stefan Csomor
747592e7cb making cocoa build again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:10:46 +00:00
Włodzimierz Skiba
9804d5404a wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Alex Bligh
e4542fa6e2 wxAUI: Make 2 methods virtual and unprotect member variables to enable apps to do their own hint windows until a generally acceptable mechanism for platforms other than MSW is found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:25:07 +00:00
Włodzimierz Skiba
e8a793f06c XRC headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 18:08:09 +00:00
Alex Bligh
e5ab82d310 wxAUI: Made fixed size floating panes work
wxAUI: Added IMPLEMENT_CLASS etc. for wxFloatingPane for a later patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:26:33 +00:00
Stefan Csomor
8e952859a6 wxColour lost its Create method, use direct creation for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 12:31:47 +00:00
Julian Smart
27e20452c4 SetStyle/GetStyle corrections
Added compatibility ctor to wxTextAttrEx
wxRichTextCtrl should take a string value for wxTextCtrl compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:13:18 +00:00
Robin Dunn
1a51c85ff3 ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 20:55:39 +00:00
Włodzimierz Skiba
155ecd4c42 Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Julian Smart
6b69c8ee88 Use wxTextCtrlBase as base class on 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:51:34 +00:00
Stefan Neis
6a17b868de Fixed typos in comments (patch #1515724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:40:38 +00:00
Stefan Neis
331f1e07ce Fixes to sizing and others, according to patch #1507207.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:11:58 +00:00
Julian Smart
05b4fddf49 Implemented wxTextAttrEx::CombineEx and wxRichTextAttr::Combine
Setting the default style now combines the default with the
new style, instead of just overriding it, so it is possible to
select e.g. bold and italic simultaneously in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 13:43:42 +00:00
Julian Smart
9d11268884 Added wxTextCtrlBase to type info, useful if different text control
implementations are available


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Julian Smart
c9f3a6a81d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:17:46 +00:00
Vadim Zeitlin
7093413895 added ExpandAllChildrne() (patch 1498343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:22:42 +00:00
Vadim Zeitlin
b3e5d05894 we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
0c9da2fa86 moved wxUSE_MS_HTML_HELP to MSW-specific setup.h, it's not used on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:04:56 +00:00
Václav Slavík
84b2e3765d fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 10:51:44 +00:00
Stefan Csomor
db49000e6c fixing PPI bugs in printer dcs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:44:12 +00:00
Stefan Csomor
dfd468aafd moving UniChar code to one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Julian Smart
1215ec07d8 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 17:45:13 +00:00
Vadim Zeitlin
1bc7969717 added missing wx/sizer.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 14:01:35 +00:00
Julian Smart
d876667522 Fixed zoom problem (Robert J.Lang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 12:56:05 +00:00
Julian Smart
7f0d9d717d Added support for tabs in wxRichTextCtrl (Ashish More)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +00:00
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