Vadim Zeitlin
23239d944a
add public wxXmlResource::GetResourceNode() which can be used directly instead of deriving from wxXmlResource and using FindResource()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 21:52:00 +00:00
Kevin Ollivier
f0e0116ea8
Landing basic EVT_CHAR support, along with the rest of EVT_TEXT support fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 18:25:36 +00:00
Stefan Neis
a1d6411d8a
Cleanup of functions not taking any parameter.
...
Compilation fix for wxMappingMode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 17:10:06 +00:00
Jaakko Salli
8c61a9ea94
Added wxComboPopup::GetComboCtrl()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 15:13:29 +00:00
Francesco Montorsi
1f2f732921
remove wxAppConsoleBase::OInitGui and leave it only in wxApp[Base] class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 14:42:35 +00:00
Vadim Zeitlin
efce878a2a
add public wxLog::Log() to avoid ugly casts needed in order to call DoLog() from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 00:46:25 +00:00
Paul Cornett
b04237742c
check for self-assignment in operator=
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 18:08:40 +00:00
Francesco Montorsi
1e8af825e1
implement wxThreadEvent safe copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:02:09 +00:00
Paul Cornett
7e08bc5acd
fix for HP aCC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 06:48:26 +00:00
Robert Roebling
a1abd1a923
Make wxImageList not copiable ( fixes #10503 ), replace wxList with wxObjectList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 20:26:00 +00:00
Paul Cornett
32bb5309eb
remove unnecessary cast, that type should match
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:44:49 +00:00
Paul Cornett
ce7c8a9751
better fix for aCC and rawbmp.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:28:37 +00:00
Paul Cornett
7c562ad9aa
check for self-assignment in operator=
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:36:27 +00:00
Paul Cornett
69cc4323fd
remove extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:35:55 +00:00
Paul Cornett
be4674271d
fix for IBM xlC 8, it can't parse the template syntax
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:34:25 +00:00
Paul Cornett
8d3166e8ac
fix for IBM xlC 8, it can't compile Clone() if wxDataFormat is not defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:34:03 +00:00
Paul Cornett
e8f9c7d1b0
fix for IBM and HP compilers, which don't allow ->* operator with undefined class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:33:38 +00:00
Paul Cornett
c4021a7920
use bool expression rather than implicit conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 18:02:53 +00:00
Paul Cornett
f8f7cff436
remove unused wxKeyEvent member m_scanCode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:15:40 +00:00
Paul Cornett
5079735ca0
build fixes for wxUSE_THREADS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 04:06:46 +00:00
Jaakko Salli
d85635c5d8
Improved documentation for GetProperty(), GetPropertyByName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:36:35 +00:00
Robert Roebling
9e5754bebd
Blind implementation of GetSubItemRect() for wxListCtrl under carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 11:24:19 +00:00
Paul Cornett
6089c4c8e8
fix deferred show when SetSize() is called after SetClientSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 03:32:40 +00:00
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
Vadim Zeitlin
579e055907
fix typo in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:29:52 +00:00
Vadim Zeitlin
1afe8c8307
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:29:29 +00:00
Jaakko Salli
bcf324bebe
Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:38:27 +00:00
Jaakko Salli
94f0292941
Fixed and refactored wxPropertyGridManager decsription text box painting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:35:26 +00:00
Stefan Csomor
4dd9fdf827
reworking event handling to redirect to c++ virtual functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:25:58 +00:00
Vadim Zeitlin
a01ada0599
allow handling events in a function taking the base class of the event class corresponding to the event type and not exactly the event class itself: this is more flexible (while still being safe) and incidentally fixes compatibility issues with existing code using explicit casts to wxObjectEventFunction (see #10477 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:33:01 +00:00
Francesco Montorsi
c78d8a70f5
document the protected functions of wxTextValidator; it helps user to eventually derive classes from wxTextValidator ( closes #10474 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:50:43 +00:00
Vadim Zeitlin
e799e8d7d8
use WXDLLIMPEXP_FWD_BASE instead of WXDLLIMPEXP_BASE in friend declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 21:27:33 +00:00
Francesco Montorsi
74d60f66ee
add a wxEventType argument to wxThreadEvent for coherency with other event classes; rewrite its Clone() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 19:44:55 +00:00
Francesco Montorsi
1e247d6992
use WXDLLIMPEXP_CORE, not WXDLLIMPEXP_BASE for wxThreadEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 19:25:09 +00:00
Francesco Montorsi
f6a3e0bad5
fix the new wxThreadEvent class adopting the new type-safe conventions for event classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:49:22 +00:00
Francesco Montorsi
d48b06bd90
check in the 'selective yield' patch (see ticket #10320 ):
...
- implements YieldFor() with event filtering for wxMSW and wxGTK,
adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:42:28 +00:00
Jaakko Salli
2728c3bfe7
Added proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property.cpp (to match header organization), removed some now-unneeded helper functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:45:23 +00:00
Francesco Montorsi
d818458781
add standard wxBLUE_PEN for coherency with the colours available for standard brushes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:30:27 +00:00
Vadim Zeitlin
c77c302300
fix MSVC warning about implicit int to bool conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 14:40:47 +00:00
Vadim Zeitlin
040d3c2ebf
restore the default bitmap icons size to 16*15, making them larger if necessary is enough and doesn't result in having ugly 16*16 bitmaps in a 24*24 button rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 12:19:45 +00:00
Vadim Zeitlin
5d55031c21
compilation fixes for wxMSW/Univ
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 10:07:58 +00:00
Vadim Zeitlin
cff6c9a81a
added back compatibility headers (apparently svn can't do move+add in a single commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 08:06:42 +00:00
Francesco Montorsi
58fa61dbad
Re-add support for multiple text validator styles but
...
1) catch some invalid configurations in SetStyle()
2) document the order of the checks in wxTextValidator
3) implement wxFILTER_EMPTY
4) rename wxFILTER_SIMPLE_NUMBER => wxFILTER_DIGITS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 21:21:47 +00:00
Vadim Zeitlin
77cc73a78e
added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:02:20 +00:00
Vadim Zeitlin
664e13143e
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Robert Roebling
69d32cafb0
Also report events from wxCollapsiblePane's label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 09:53:33 +00:00
Vadim Zeitlin
abb7d8a351
work around VC6 ICE in DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 21:44:36 +00:00
Vadim Zeitlin
361ba943f9
use explicit this-> with non-dependent names (compilation fix for standard-conforming compilers such as g++ 4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 21:09:08 +00:00
Vadim Zeitlin
f3ff831f3b
Changes to template Connect() to make it compile with MSVC7 and possible other
...
not quite up-to-date compilers, to reduce repetitions and to allow using
methods of non-wxEvtHandler-derived classes as event callbacks:
1. Don't rely on compiler ability to deduce template parameter from the type
of a parameter of a function used as another template parameter, at least
MSVC7 can't do this and it's probably not the only one.
2. Do rely on compiler support for partial specialization to make
wxEventFunctorMethod compile for non-wxEvtHandler-derived handlers while
still keeping the old functionality for the wxEvtHandler-derived ones.
3. Don't make any difference between functions and functors, both are callable
objects so use them as such, this allows to fold code for both cases.
4. Avoid the use of dynamic_cast<>.
5. Several naming changes:
a) wxTypedEventType -> wxEventTypeTag (because this is what it is)
b) Subscribe/Unsubscribe -> DoConnect/Disconnect (to follow the usual
convention of public Foo calling private DoFoo and to avoid using up
another name)
c) Derived -> ObjClass (because it's not clear what does Derived mean)
6. Extend the unit test to cover more cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 20:38:56 +00:00
Vadim Zeitlin
f57254320e
don't always disable new events code; leave it enabled for MSVC8+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 11:39:48 +00:00
Vadim Zeitlin
412fcdc105
remove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events in DLL build using MSVC9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:05:55 +00:00
Vadim Zeitlin
111d41b2fa
no real changes, just add some comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 22:10:52 +00:00
Francesco Montorsi
6dbf7a3750
blind fix for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 20:59:03 +00:00
Francesco Montorsi
7737e2fd00
add GetControlWidget() accessor to the generic wxCollapsiblePane
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 16:26:38 +00:00
Francesco Montorsi
06d7b2176b
add uint/long/ulong overloads of operator* and operator/ to avoid problems with ambiguos overloads in wxSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 14:16:20 +00:00
Francesco Montorsi
ee08bdb5b6
use appropriate casts to fix warnings about double=>int conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 13:45:17 +00:00
Stefan Neis
d77df9f7d0
Removed extraneous semicolon (partly fixes #10456 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 13:14:30 +00:00
Vadim Zeitlin
62c9b3d73f
another wxUSE_DRAG_AND_DROP==0 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:51:33 +00:00
Vadim Zeitlin
1f0539a4a2
set standard properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:32:29 +00:00
Stefan Csomor
456057f8d4
avoid warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 09:17:20 +00:00
Stefan Csomor
f5f172485b
fixing utf32 native conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 09:08:02 +00:00
Paul Cornett
6cab4fcac7
simplify Refresh() and Update()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 07:52:39 +00:00
Stefan Neis
6d8978f030
Fixed compilation error on OS/2 (strnlen declaration was not visible).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 06:08:56 +00:00
Stefan Neis
35524f615e
Removed extraneous semicolons and commas (partly fixes #10456 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 04:48:19 +00:00
Vadim Zeitlin
c7c8fac6f8
attempt to fix DLL samples link with VC6 which has trouble instantiating template methods of dll-exported classes apparently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:47:28 +00:00
Francesco Montorsi
fcd209b6a2
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:41:51 +00:00
Francesco Montorsi
1406dc01b2
give better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotInCharExcludes; add wxFILTER_SIMPLE_NUMBER style; remove specialized global helpers used by wxTextValidator in favour of wxStringCheck templated calls; better document the wxFILTER_* styles which use ctype standard functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:27:27 +00:00
Francesco Montorsi
9174364320
add operator* taking doubles to wxSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:22:37 +00:00
Francesco Montorsi
cbec0f401a
add wxStringCheck templated utility function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:19:37 +00:00
Robert Roebling
2dc0115330
Forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:12:32 +00:00
Vadim Zeitlin
33f4afdbc0
define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp now needs them too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 20:52:44 +00:00
Francesco Montorsi
52ceb90e10
fix typo; document wxFlexSizerGrowMode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 20:10:13 +00:00
Vadim Zeitlin
0580ddb24f
no real changes, just remove unnecessary code; use wxScopedArray instead of raw one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 14:04:23 +00:00
Robert Roebling
dc8928439f
Fixes #10437 (wxDataObjectComposite::Add may add objects having data formats that already exist in the composite object)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:41:11 +00:00
Jaakko Salli
94b8ecf1cd
Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names and labels for the two root properties (to help with debugging); Refactored wxPropertyGridState::DoInsert()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 11:48:28 +00:00
Václav Slavík
3f8cdda485
don't include private headers from wx/unix/evtloop.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 10:58:10 +00:00
Vadim Zeitlin
9966c62b28
DisableSaving/Restoring() should be void, not bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 22:10:14 +00:00
Vadim Zeitlin
0fa541e870
add support for persistent controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Stefan Csomor
b69470e4ee
workaround for crashes in release builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:58:08 +00:00
Robert Roebling
e47e063af2
Add wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:10:44 +00:00
Robert Roebling
26f7724c4b
Don't use a cached best size if the window has a sizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:08:14 +00:00
Francesco Montorsi
10b0f4894b
cleanup code and reorganize it to reuse the same switch() for both OnChar() and Validate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 17:22:05 +00:00
Francesco Montorsi
d29505ac70
fix typo (missing closing brackets); add some comments to wxKeyCode; no real change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 16:07:19 +00:00
Václav Slavík
86e9b8f28f
wxDFB: use Unix event loop and timers ( fixes #10408 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 15:21:47 +00:00
Robert Roebling
e81c715586
Move body of SetMinSize and SetMaxSize from header to cpp file for easier debugging. The methods are virtual anyway.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 09:49:29 +00:00
Robert Roebling
a20a357d92
Make GetEffectiveMinSize virtual as not being able to override the method, which the sizer system depends on, is inflexible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 09:37:14 +00:00
Vadim Zeitlin
fc50ab9081
include wx/generic/gridctrl.h too for compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 09:08:37 +00:00
Robert Roebling
55ca41b1ea
Store pointer to owning wxWindow in wxPizza widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 22:32:25 +00:00
Jaakko Salli
3cfde7c049
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about its use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 16:09:46 +00:00
Vadim Zeitlin
575e4cd670
don't fall back to the only currently existing document in wxDocManager::GetCurrentView() as it breaks activation logic ( #9518 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 13:04:40 +00:00
Vadim Zeitlin
f92ec19302
no changes, just corrected/completed a comment truncated in the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 12:52:55 +00:00
Vadim Zeitlin
89d94e046d
no real changes, just minor refactoring and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 12:52:17 +00:00
Vadim Zeitlin
26078494a0
add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for the platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 12:50:06 +00:00
Václav Slavík
cd720f7e16
wxEpollDispatcher is in wxBase, not wxCore - fixed to use WXDLLIMPEXP_BASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-29 00:26:40 +00:00
Vadim Zeitlin
f54e5c1a4f
another fix for wxUSE_DRAG_AND_DROP==0 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 21:36:57 +00:00
Vadim Zeitlin
99c4be6806
rename wxRendererNative::DrawRadioButton() to DrawOptionButton() to avoid conflict with wxUniv function with the same name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 13:55:51 +00:00
Vadim Zeitlin
3b7fa2069b
fix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEvent() wrapper and document it; also document this (incompatible) change itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 13:41:43 +00:00
Vadim Zeitlin
79f9ea0541
remove the recently added MSWFindMenuBarItem() as we already had FindItemInMenuBar() for the same purpose; just change the latter to return a non-const pointer; this fixes help string display in the status bar for the window menu items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 09:14:07 +00:00
Francesco Montorsi
99d8272073
document various enumerations defined in defs.h; give a name to the anonymous enum for the standard IDs; move wxKeyCode and wxKeyModifier enums in defs.h removing their dedicated pages of the manual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 00:44:06 +00:00
Vadim Zeitlin
1483e5db8d
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unnecessarily and generally streamline it; added possibility to use custom menu commands in the "Window" menu and specifying accelerators for them now works too (show this in the sample); finally added standard ids for the MDI window menu commands
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 16:47:41 +00:00
Vadim Zeitlin
67fdb6f9af
added CreateAccelTable() helper which creates the accel table for just this menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 16:45:24 +00:00
Vadim Zeitlin
058f225a44
added template wxScopedArray<> too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 16:40:51 +00:00
Vadim Zeitlin
74c34d2277
don't do anything in SetWindowMenu() if we're setting the same menu as we already have
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 14:48:20 +00:00
Vadim Zeitlin
4d833b7b7f
add missing headers for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 13:10:43 +00:00
Francesco Montorsi
ad48602087
small cleanup; move private class definitions in a private header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 12:01:54 +00:00
Vadim Zeitlin
7e6d684052
add more wxUSE_MENUS guards
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:38:08 +00:00
Vadim Zeitlin
690ba30eb2
don't include wx/mdi.h from wx/wx.h when building the library itself as it's only used by mdi.cpp and it doesn't make sense to include it in the PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:20:43 +00:00
Václav Slavík
26dd7154d5
Automatically adjust toolbar's tool size if the provided bitmaps
...
don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:20:17 +00:00
Vadim Zeitlin
51181d2911
use a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code: this not only makes the code cleaner but should also remove the last dependency on MDI code when linking wx applications not using MDI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:18:47 +00:00
Robert Roebling
992d6e1e2c
Removed queuedResize code again as GTK+ does this internally already
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 20:43:12 +00:00
Jaakko Salli
e1ef506e13
Added wxPGChoices::Copy(), tweaked related documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 17:28:29 +00:00
Robert Roebling
619df5a4e2
Implement hint cursor for resizable columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 13:45:16 +00:00
Vadim Zeitlin
0a03dc7a13
remove duplicated HitTest implementation from wxCheckListBox, it already inherits wxListBox::HitTest() (which was however lacking an overload taking 2 coordinates, added now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:10:24 +00:00
Vadim Zeitlin
c1099d9254
allow specifying the mask colour in wxImage::ConvertAlphaToMask() ( closes #10143 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 17:23:39 +00:00
Jaakko Salli
fef4b46dc7
Added XRC handler for wxComboCtrl ( closes #10151 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 16:00:32 +00:00
Vadim Zeitlin
7ad24ad9cf
don't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined ( closes #10132 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:40:43 +00:00
Vadim Zeitlin
0a1f778483
add wxDrawStateBitmap() ( closes #10289 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:38:44 +00:00
Vadim Zeitlin
232b216277
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl ( #10033 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:47:20 +00:00
Vadim Zeitlin
eab1336c90
added (MSW-only) wxListCtrl::OnGetItemColumnAttr() ( #10018 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:27:48 +00:00
Vadim Zeitlin
d571cf149e
fix MSVC warning C4516 about using deprecated access declarations; use using declarations instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:10:51 +00:00
Vadim Zeitlin
110c50944f
added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags ( closes #10422 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:37:16 +00:00
Vadim Zeitlin
2ddb8ccf60
convert COM arguments to wx lazily to improve performance and allow calling Invoke/handling events involving parameters which can't be mapped to wx types at all (new GetNativeParameters() method can be used to access them) ( closes #9606 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:25:43 +00:00
Vadim Zeitlin
bb24f84b70
add IsOk() ( closes #9872 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:04:25 +00:00
Vadim Zeitlin
713e92905e
don't deprecate the entire wxDrawObject class, this results in warnings when we just declare wxDC::DrawObject(); instead deprecate just its ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:01:35 +00:00
Francesco Montorsi
004867dbc5
Change in wxWindow the access specifier of the wxEvtHandler event processing and queuing functions
...
from public to protected. Adapt wxWidgets code and wxWidgets samples to always use wxWindow::GetEventHandler()
when calling such functions on a wxWindow rather than directly using wxWindow::ProcessEvent, etc.
This enables correct event dispatching to the event handlers which have been pushed (with PushEventHandler) on the
windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:58:39 +00:00
Vadim Zeitlin
0a0e498415
deprecate wxDrawObject ( #9860 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:32:41 +00:00
Vadim Zeitlin
64c38b4be8
implement wxChoicebook::SetWindowVariant() by forwarding it to wxChoice (see #10398 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:11:27 +00:00
Stefan Csomor
473d6885de
bring in the definition of wxScrollHelper, making non-precomp builds working again after r58312
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 17:01:46 +00:00
Vadim Zeitlin
d6dae1b443
minor fixes for custom controls support in wxFileDialog: slightly improve documentation, make variable names more clear and add more WinCE checks ( closes #10416 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 14:04:25 +00:00
Vadim Zeitlin
9adeb77af4
add missing wxUSE_DRAG_AND_DROP checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 23:55:17 +00:00
Robert Roebling
d7ce433897
Postpone size event from wxTLW resizing to idle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 14:04:32 +00:00
Vadim Zeitlin
be8b43858c
added (wxMSW-only) wxToolTip::SetMaxWidth() and improve its default behaviour ( #2817 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 13:26:20 +00:00
Robert Roebling
12b5f4b4d2
Forgot header with OSX prefix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 08:40:26 +00:00
Robert Roebling
4eb5a0ec04
Give some OSX specific methods OSX prefix, fixes hidden virtual method warning elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 08:36:16 +00:00
Vadim Zeitlin
dca9410337
fix wxEVT_SPIN_XXX definitions in a nicer (compatible with new events) way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 00:30:41 +00:00
Robert Roebling
06cd40a8b9
Reorganized wxListCtrl's window layout (same as wxDataViewCtrl), call RecalculatePositions() from OnPaint() to get rid of flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 23:01:14 +00:00
Robert Roebling
b047e876e0
Further attempts at getting the header buttons right
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 14:09:32 +00:00
Robert Roebling
f4b1f99912
First and other header buttons look different
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 13:41:10 +00:00
Robert Roebling
3fdf86f91e
Override GetDefaultBorder, currently changes nothing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 13:33:00 +00:00
Francesco Montorsi
7f853dd046
fix wxWindow::PushEventHandler and related wxWindow functions for the stack management; currently they don't work well when passing event handlers which are part of an event handler chain (see wx-dev thread 'wxWindow event handler stack'); implement wxEvtHandler Unlink() and IsUnlinked() functions and document them; revise docs of all involved functions of both wxEvtHandler and wxWindow, adding images for better explanations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 11:53:09 +00:00
Vadim Zeitlin
02221dcb0a
fix problem with using wxEVT_SPIN in event tables after new events patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 22:32:05 +00:00
Robert Roebling
81a1c6869e
Call SetDataSource() from OnEnter() so that querying/accessing the data is possible from then on, rename to MSWxxx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:44:55 +00:00
Vadim Zeitlin
6fa6d65956
allocate size for the extra controls in the file dialog ( #9679 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:32:02 +00:00
Robert Roebling
51c9c13c05
Add wxDataFormat GetMatchingPair() which wxGTK and wxMSW already had under different names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:01:31 +00:00
Vadim Zeitlin
d8efd2198f
added wxStandardPaths::GetAppDocumentsDir() and use it by default for loading/saving documents in wxDocManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:01:30 +00:00
Julian Smart
e9f1000463
wxRTC now properly honours margin size
...
Added wxRE_CENTRE_CARET style to centre the caret line vertically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 12:06:21 +00:00
Robert Roebling
1fe91d7098
Give GTK specific (but public) methods a Gtk prefix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 11:36:28 +00:00
Robert Roebling
821baf7da4
Skeleton for generic Drag code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 19:04:03 +00:00
Vadim Zeitlin
c6212a0cb7
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possible during the window destruction to ensure that destroy event handlers can still access the full window object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 18:33:33 +00:00
Paul Cornett
8c2654ce3d
build fixes and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 17:50:51 +00:00
Stefan Csomor
19c7ac3d3b
streamlining slider, scroller, spinbutton for osx carbon and cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 14:27:26 +00:00
Robert Roebling
e4de825ee6
Add event based Drop API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:46:21 +00:00
Robert Roebling
591cc82deb
Simplified event based Drag API for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 11:58:52 +00:00
Robert Roebling
15cac64f75
New eventb based Drag interface for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 22:27:06 +00:00
Robert Roebling
95b20f41b6
Rename XxxxCol() -> XxxxColumn() and resolve inheritance problems from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:44:47 +00:00
Vadim Zeitlin
952555f7b1
compilation fix after NULL cast removal; also used it to get rid of an ugly OnTimerEvent(*(wxTimerEvent *)NULL) call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:40:13 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Vadim Zeitlin
c23b255ab4
don't use annoying and unneeded in C++ casts of NULL to "T *"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:39:25 +00:00
Vadim Zeitlin
41fb347540
correct Id tags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:30:34 +00:00
Robert Roebling
e700e2964b
Move model notification code of tree store from the store to the control, implement Insert() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 11:42:54 +00:00
Julian Smart
48def411aa
Applied Peter Most's EVT_SPIN crash fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 19:30:23 +00:00
Stefan Csomor
54f1106086
mouse and cursor additions for cocoa, see #10361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 16:10:46 +00:00
Julian Smart
ad60f9e7b6
Workaround for GTK+ sensitivity bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:34:23 +00:00
Vadim Zeitlin
150ac0dae3
added forward declaration of FrameSite apparently needed by mingw32 4.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:30:40 +00:00
Stefan Csomor
7a03aebcc5
fixing dangling includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 16:24:40 +00:00
Stefan Csomor
ccd5d46c7b
fixing dangling includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:38:04 +00:00
Stefan Csomor
8c172b156c
reverting to former mimetype routing to core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:25:10 +00:00
Stefan Csomor
2f10e91ab7
wrong move
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:21:02 +00:00
Stefan Csomor
6762286db6
headermove osx - header files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 10:43:43 +00:00
Stefan Csomor
3508c14328
testing header replace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 09:05:32 +00:00
Stefan Csomor
49b3c4dfca
testing header replace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 09:05:00 +00:00
Stefan Csomor
9330ded5dd
adding NSPrintInfo support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 08:46:31 +00:00
Stefan Csomor
c347101b66
streamlining printing support, adding printing support on osx-cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 08:46:00 +00:00
Francesco Montorsi
7d76fbd5a1
use enumerations instead of integers for wxFont style/weight/family
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 20:46:20 +00:00
Vadim Zeitlin
6689960c3c
use wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase() as it's significantly more efficient than wx code ( closes #10375 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:03:26 +00:00
Vadim Zeitlin
ca44dbde5f
make the preview frame float on parent by default as otherwise it is hidden when the parent is a modal dialog, at least under wxGTK ( #10341 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 18:49:04 +00:00
Vadim Zeitlin
213b5041fe
export wxActiveX stuff from core (not media) DLL ( closes #8991 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:44:16 +00:00
Vadim Zeitlin
29de6f400c
ensure that ProcessEvent() is called for all the event handlers, not just the first one in event handlers list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:07:16 +00:00
Robert Roebling
832df17108
Document wxDataViewListCtrl, minor corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:44:12 +00:00
Stefan Csomor
02fd8b9b61
fixing infinite recursion for rotated text, introduced in cleanup r57915
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:31:55 +00:00
Robert Roebling
bda698ed19
Document wxDataViewListStore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:20:42 +00:00
Francesco Montorsi
730b772b41
Move SetDefaultTimeout to wxProtocol and set it to 60 seconds for both wxHTTP and wxFTP
...
Move SetPassword and SetUser implementations to wxProtocol to avoid code redundancy
Make const-correct various getters
Reorganize wxFTP docs
Move wxStringToStringHashMap to hashmap.h and document its existance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:08:13 +00:00
Robert Roebling
dc813e6c7e
Added wxDataViewListCtrl, use it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:04:00 +00:00
Vadim Zeitlin
0b628e95fb
include wx/generic/grideditors.h for compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:19:05 +00:00
Francesco Montorsi
6214e8d571
make wxSocketBase::SetTimeout virtual and make it protected in wxFTP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:34:44 +00:00
Václav Slavík
e68a8744ee
silence gcc warnings in "vararg" functions such as wxPrintf when compiling with -Wformat-security
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 12:07:47 +00:00
Robert Roebling
8eff6c56f0
Change GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based interface, Add wxDataViewListStore (WIP)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:23:37 +00:00
Robert Roebling
c0d2308b25
Use paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:57:06 +00:00
Stefan Csomor
bbd8f8af49
make sure group boxes don't get the big font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:49:57 +00:00
Stefan Csomor
0c530e5a67
fixing controls with content areas, correcting radiobox layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 11:31:02 +00:00
Julian Smart
9c4cb61167
Added font family to wxTextAttr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 09:20:55 +00:00
Francesco Montorsi
d19ce8c491
add some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the user to set the desired compression level ( closes #10372 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:54:38 +00:00
Francesco Montorsi
af6785afcc
part of commit r58093
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:01:23 +00:00
Francesco Montorsi
5249958203
don't use hardcoded constant 200; use wxSTACKWALKER_MAX_DEPTH instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 14:38:00 +00:00
Stefan Csomor
ffad7b0dd2
cleaning up warnings, more common event code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 13:56:05 +00:00
Stefan Csomor
b466e85a7e
routing native events first to the wx class and only if skipped call native handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 08:58:59 +00:00
Vadim Zeitlin
cf516c2bb2
disable new event code unconditionally for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 08:47:23 +00:00
Vadim Zeitlin
9b53796d59
fix memory leak of FrameSite (see #3935 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 23:04:03 +00:00
Francesco Montorsi
d8359d3ca0
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 19:20:47 +00:00
Stefan Csomor
4850cc8b2e
using subclass as impl ptr, common code in macro because mix-in are not possible in obj-c
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:35:23 +00:00
Stefan Csomor
2126732187
common event code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:19:42 +00:00