Commit Graph

12883 Commits

Author SHA1 Message Date
Paul Cornett
1e04d2bf54 fix evtloop.h header dependency
implementation headers go first to catch this kind of problem, don't move them to fix a build error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 17:19:17 +00:00
Stefan Csomor
2d14a14c57 make OSX defines to be 1, not only defined, for backwards compatibility reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:36:59 +00:00
Stefan Csomor
3352145758 fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:29:58 +00:00
Francesco Montorsi
8bd9fa338e PCH-less build fix by Tim S
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 19:34:58 +00:00
Stefan Csomor
bf02a7f976 switching to compositing operators (fixes #9881), adding layers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 16:52:05 +00:00
Francesco Montorsi
a8519f6507 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 14:54:31 +00:00
Francesco Montorsi
dde19c2180 second part of #10320: move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 14:25:08 +00:00
Jaakko Salli
58b6a13764 Fixed wxPropertyGrid::HitTest() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-14 08:48:46 +00:00
Kevin Ollivier
c824c165b1 Start on implementation for wxTE_MULTILINE / wxTE_RICH* support using NSTextView/NSScrollView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-14 08:06:34 +00:00
Vadim Zeitlin
22b476f1ce use WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_CORE to avoid mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 23:23:03 +00:00
Jaakko Salli
e276acb530 Clarified wxPropertyGrid::HitTest() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 16:15:12 +00:00
Robert Roebling
496e7ec647 More GTK prefixing for internal methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 10:25:38 +00:00
Robert Roebling
7fc8b9a4fe GTK prefix for internal tooltip methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 10:10:36 +00:00
Robert Roebling
71ead4bf23 Removed unneeded FixUpMouse() method, some more GTK prefixing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 10:00:22 +00:00
Robert Roebling
34da808e3f Forgot to commit file for giving a GTK specific methid the prefix GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 09:33:15 +00:00
Bryan Petty
21d9680705 GTK compilo: looks like a header missed the r58850 commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 07:35:48 +00:00
Robert Roebling
723b3994e0 wxFilePickerCtrl's button should know if it has an associated text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 21:09:20 +00:00
Vadim Zeitlin
d11c9d86b6 made wxArrayString::assign(iterator, iterator) a template function; also fixed a bad bug in it: it didn't call clear(); mention existence of std::vector-like methods in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 12:09:13 +00:00
Julian Smart
e0983733bd Fixed wxRichTextRange != operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 10:17:44 +00:00
Stefan Csomor
e32090bacd renaming clickedAction callbacks to more generic controlAction, textctrl updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 07:17:46 +00:00
Kevin Ollivier
a2ee194587 Restore DrawRadioButton to the main wxRenderer API, create a method overload for the wxUniv API so that it can coexist with the wxUniv method of the same name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 01:06:53 +00:00
Paul Cornett
7669dce5d2 corrected build fix, new code does work with GTK+ < 2.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-10 03:43:30 +00:00
Francesco Montorsi
6effcb7c9d fix for when wxUSE_DRAG_AND_DROP==0 (e.g. in wxX11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-10 00:15:37 +00:00
Vadim Zeitlin
e232b083f9 compilation fix for GTK+ < 2.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 21:17:02 +00:00
Stefan Csomor
96defed03c flipped accessor conforming to plain c++ impl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 17:53:02 +00:00
Stefan Csomor
05112735c2 GetRegion is not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 09:53:39 +00:00
Stefan Csomor
5398a2e050 common drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in ApplicationServices, so this can be used for all osx-cocoa builds as native wxRegion implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 09:01:19 +00:00
Francesco Montorsi
80255b7eaf fix memory leak; allocate the DC before SetFont() is called on the status bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 00:53:58 +00:00
Francesco Montorsi
0cd159592e save the current status text for each pane inside wxStatusBarPane: native controls now store the (eventually) ellipsized version of the string; remove code for managing the status strings currently inside the [native|generic] control; add ellipsization support under wxMSW; now that all SetFieldsCount() implementation rrely on wxStatusBarBase::SetFieldsCount document how it behaves when adding new panes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 00:33:19 +00:00
Kevin Ollivier
4879f2120c Enable wxDVC on OS X Cocoa using the generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 23:24:29 +00:00
Kevin Ollivier
ada083260a Stub out GetMatchingPair() for now to allow us to use the generic wxDVC on Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 23:21:22 +00:00
Paul Cornett
a1c6f06900 new wxTaskBarIcon implementation for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 22:21:24 +00:00
Paul Cornett
8aa40b04f8 do only what is necessary in SetScrollbars(), let the base class do the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 20:51:44 +00:00
Francesco Montorsi
ba4589db1d optimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsWidth() only when strictly needed; update cache from an OnSize() event handler; fix RTL code: wxDC::DrawText() is RTL-aware itself and doesn't need special calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 19:17:07 +00:00
Stefan Csomor
1d61c55432 turning on icons for osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 18:24:07 +00:00
Vadim Zeitlin
f61ea9468f don't react to wxEVT_DESTROY events from child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:20:37 +00:00
Francesco Montorsi
78612fa68f use Ellipsize() in wxStatusBarGeneric so that the text is correctly ellipsized when exceeding field width; avoid that text overlaps the size grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 13:30:40 +00:00
Francesco Montorsi
a78618b062 split wxControl::Ellipsize() in two functions for better readability of the code; add support for ellipsization flags which allow to disable special processing of TAB/mnemonics characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 12:56:14 +00:00
Stefan Csomor
1ea5ef0190 menu fixes, also fixes #10479
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:49:46 +00:00
Vadim Zeitlin
c0c133e13b add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Vadim Zeitlin
7d15ffcdb9 make dtor public to fix VC6 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:28:15 +00:00
Vadim Zeitlin
ab13878f7b fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:46:53 +00:00
Vadim Zeitlin
7b8b72b506 removed wrong check from splice(it, list, first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:49 +00:00
Kevin Ollivier
e2cb366f61 Implement GetDashCount() for Carbon/Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:18 +00:00
Kevin Ollivier
b916f71245 Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:20:45 +00:00
Kevin Ollivier
485c6263ac The GL library needs access to this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:17:52 +00:00
Vadim Zeitlin
1416fc5ff6 fix wxList::erase(it, end()) in non-STL build (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:10:56 +00:00
Vadim Zeitlin
5bca8be2cf fix (harmless for now) g++ warning about non-virtual dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:03:30 +00:00
Vadim Zeitlin
5e14f15d48 yet another wxUSE_DRAG_AND_DROP==0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 21:46:31 +00:00
Vadim Zeitlin
9b11752c4f require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 18:59:25 +00:00