Stefan Csomor
|
c6aa5cafc5
|
native apple event support for osx cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 18:44:38 +00:00 |
|
Francesco Montorsi
|
48598c661a
|
fix deprecation warnings when building filefn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 16:04:36 +00:00 |
|
Jaakko Salli
|
0eb877f2c1
|
Reverted to old wxPG_AUTO_SORT behavior in which only root properties and immediate children of categories are (automatically) sorted; Added Sort flags; Applied slight optimization when sorting on propgridmanager page change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 15:16:03 +00:00 |
|
Vadim Zeitlin
|
fa8224a15a
|
reverted apparently accidental change of r57896
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 14:55:56 +00:00 |
|
Stefan Csomor
|
2cb5d2d2b7
|
supporting PopUp on osx cocoa as well, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 14:43:22 +00:00 |
|
Francesco Montorsi
|
87315ea262
|
fix a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 11:11:33 +00:00 |
|
Stefan Csomor
|
ca91e1eb7f
|
cleaning up default OPEN and CLOSED HAND cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 10:40:35 +00:00 |
|
Stefan Csomor
|
179c2d9136
|
adding open and close hand cursor constants, implementation currently OSX only, closes #10360
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-10 09:45:16 +00:00 |
|
Francesco Montorsi
|
00e3ea1c6f
|
minor cleanup; add wxDocument::OnChangeFilename for coherence with wxView::OnChangefilename; avoid some (small) code duplication; closes #10080
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-09 16:13:49 +00:00 |
|
Francesco Montorsi
|
fc3762b5fc
|
add wxImage::Clear (patch by troelsk); closes #10141
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-09 15:35:59 +00:00 |
|
Francesco Montorsi
|
40ae960071
|
Fix wxTextValidator introducing a wxTextValidatorStyle enums since it does not support multiple combined styles; fix wxTextValidator::Validate when wxFILTER_EXCLUDE_LIST is used; fixes #1211
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-09 12:43:20 +00:00 |
|
Francesco Montorsi
|
79bd5e982b
|
use #if instead of #ifdef for WX_COMPAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-09 12:40:11 +00:00 |
|
Francesco Montorsi
|
94a007ece4
|
a few more int/wxPolygonFillMode substitutions in wxRegion and wxGraphicsContext code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-08 16:43:56 +00:00 |
|
Francesco Montorsi
|
3adf5bcf2d
|
fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-08 15:10:54 +00:00 |
|
Robert Roebling
|
674f0f2783
|
use wxRound(x) instead of int( x+0.5 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-08 14:36:18 +00:00 |
|
Francesco Montorsi
|
89efaf2b65
|
change generic ints to enums in wxDC (closes #9959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-08 14:21:53 +00:00 |
|
Robert Roebling
|
11a449ac9b
|
Add the same margin to wxBitmapToggleButton as to wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-08 13:56:03 +00:00 |
|
Jouk Jansen
|
4d8988f7b1
|
insert missing include file for OpenVMS platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 20:37:16 +00:00 |
|
Jouk Jansen
|
2e8fd8cc40
|
insert missing iclude file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 19:50:26 +00:00 |
|
Jaakko Salli
|
433969811e
|
Added wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropertyGridInterface; default sorting is now case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 18:53:09 +00:00 |
|
Francesco Montorsi
|
5f8704a6e3
|
remove an unused pool of strings using wxStringList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 18:13:06 +00:00 |
|
Francesco Montorsi
|
c9760e58d5
|
remove old (and unused) MSW-only wxFontEnumerator header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 17:42:21 +00:00 |
|
Francesco Montorsi
|
58045daa7c
|
use wxArrayString instead of wxStringList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 17:29:38 +00:00 |
|
Francesco Montorsi
|
5ffe00d001
|
fix wxMotif errors when linking against a wxControlWithItems-derived widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 17:29:10 +00:00 |
|
Julian Smart
|
68030cae69
|
Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 14:45:27 +00:00 |
|
Francesco Montorsi
|
3828182615
|
fix wxYield[IfNeeded] dll linkage (closes #10325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 11:28:50 +00:00 |
|
Francesco Montorsi
|
47d281e6b7
|
deprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName, wxExpandPath, wxContractPath, wxRealPath, wxCopyAbsolutePath, wxSplitPath and provide deprecation description in the docs (for the documented functions) or directly in the header (for undocumented functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 01:29:54 +00:00 |
|
Francesco Montorsi
|
395f3aa8bd
|
rewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeDir; add test units and docs for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-07 00:38:46 +00:00 |
|
Francesco Montorsi
|
24c4d27f2a
|
use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even if it was deprecated since wx2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-06 20:25:31 +00:00 |
|
Francesco Montorsi
|
8d4ff84937
|
add WXWIN_COMPATIBILITY_2_6 block around wxUsleep deprecation; put wxPlatform declaration out of the 'Miscellaneous functions' block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-06 12:56:07 +00:00 |
|
Vadim Zeitlin
|
b2eabfe866
|
abstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 16:04:22 +00:00 |
|
Vadim Zeitlin
|
a8fd1047b8
|
need to overload assertEquals(int,short) too to resolve ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 12:32:26 +00:00 |
|
Vadim Zeitlin
|
bad631840c
|
more attempts to fix CppUnit::assertEquals for VC6 without breaking everything else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 11:59:11 +00:00 |
|
Paul Cornett
|
5852a1dcbb
|
remove Rescale(), it is no longer used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 02:42:03 +00:00 |
|
Paul Cornett
|
02cecc4dc2
|
Complete rewrite of DoDrawBitmap() and DoBlit().
Blit should now correctly handle all combinations of scaling, clipping, and mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 02:40:11 +00:00 |
|
Vadim Zeitlin
|
a54b285e7c
|
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-04 00:47:10 +00:00 |
|
Vadim Zeitlin
|
a12698abb7
|
added wxFDIODispatcher::HasPending() and implemented correctly wxConsoleEventLoop::Pending() using it to fix the pending events processing in console event loop based programs; also changed wxFDIODispatcher::Dispatch() return type/value to be able to indicate the errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-03 01:21:24 +00:00 |
|
Vadim Zeitlin
|
14eb37a05e
|
call ProcessPendingEvents() from wxAppConsoleBase::ProcessIdle() too, not only from wxAppBase::ProcessIdle(); do not call it from wxConsoleEventLoop::Dispatch() as this results in unwanted reentrancies in the socket code when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 22:18:10 +00:00 |
|
Vadim Zeitlin
|
ebbf740764
|
streamline handling of wxSOCKET_LOST in DoWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 22:07:45 +00:00 |
|
Vadim Zeitlin
|
f26d81383f
|
no changes, just reformat/indent consistently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 21:58:09 +00:00 |
|
Vadim Zeitlin
|
df21920b80
|
disable the events when we get a notification about socket being ready for IO and reenable them later after performing the IO in the Unix version to avoid continuous flood of ready notifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 21:53:30 +00:00 |
|
Paul Cornett
|
41285bc82f
|
fix GCC warning "suggest explicit braces..."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 18:10:10 +00:00 |
|
Vadim Zeitlin
|
365b8793d3
|
use guard classes automatically restoring the old state in their dtor instead of manually changing wxSocketBase::m_reading/writing/flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 17:34:16 +00:00 |
|
Paul Cornett
|
9d77a075c0
|
fix header dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 17:29:32 +00:00 |
|
Vadim Zeitlin
|
39b61b0581
|
rename wxSocketSelectManager to wxSocketFDIOManager, the old name was confusing as it could be either select()- or epoll()-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 16:59:23 +00:00 |
|
Vadim Zeitlin
|
6f405b31b2
|
fix WaitForXXX() to work as before: if the socket is already ready for reading/writing they should return immediately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-02 01:00:40 +00:00 |
|
Vadim Zeitlin
|
6e1f851b17
|
also add wxSizer::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 23:25:37 +00:00 |
|
Vadim Zeitlin
|
2f39b5a33e
|
make the new GetItemCount() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 23:23:54 +00:00 |
|
Robert Roebling
|
6b527e158d
|
Added wxSizer::GetItemCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 22:05:29 +00:00 |
|
Vadim Zeitlin
|
8dc5f051c7
|
VC6 doesn't support using keyword (closes #10322)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 17:08:41 +00:00 |
|
Vadim Zeitlin
|
440d3d2a1f
|
VC6 compilation fix after r57689 (closes #10318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-01 15:17:05 +00:00 |
|
Vadim Zeitlin
|
2ffeccb3b7
|
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 15:27:00 +00:00 |
|
Vadim Zeitlin
|
5a5f305a0f
|
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 14:26:52 +00:00 |
|
Vadim Zeitlin
|
5b8b2c84f7
|
added SetLabelText() and EscapeMnemonics()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 14:14:07 +00:00 |
|
Vadim Zeitlin
|
ae7e6cc946
|
added default ctor and Create() to wxRearrangeDialog for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 13:27:28 +00:00 |
|
Francesco Montorsi
|
7b6fefbed1
|
get rid of the wxListString class in wxStatusBar code; introduce a wxStatusBarPane class which enormously simplifies the code handling stacks/widths/styles of panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 12:28:05 +00:00 |
|
Vadim Zeitlin
|
6f97a0d599
|
compilation fix for LoadFile(name, type) calls which became ambiguous after the base class LoadFile() unhiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-31 11:50:05 +00:00 |
|
Vadim Zeitlin
|
ddd0db9619
|
extract AddColumnsItems() from ShowColumnsMenu() to make it possible to reuse it in custom menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 23:19:06 +00:00 |
|
Vadim Zeitlin
|
b67397a779
|
added wxSocket::ShutdownOutput() (closes #9229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 11:27:41 +00:00 |
|
Vadim Zeitlin
|
c65f4634bc
|
ensure that WIN32 is defined, winsock2.h relies on it being defined and fails in interesting ways (by silently changing the struct alignment resulting in difficult to diagnose crashes later) if it isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 11:01:28 +00:00 |
|
Vadim Zeitlin
|
c363ead1e2
|
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings about unhandled enum value in switch in existing code (including our own sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-30 00:11:04 +00:00 |
|
Jaakko Salli
|
a6353fe8f6
|
Update editor control font centrally, in wxPropertyGrid::RefreshEditor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 17:58:32 +00:00 |
|
Francesco Montorsi
|
538483d8d0
|
add the HTML string of the selected item to wxSimpleHtmlListBox events (closes #10159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 16:06:53 +00:00 |
|
Francesco Montorsi
|
d181e877b0
|
use a common m_isInsideYield flag instead of static booleans in all ports; add a IsYielding() test which can help to fix unwanted re-entrancies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 15:03:39 +00:00 |
|
Vadim Zeitlin
|
67badd5753
|
build fixes for wxUSE_IPV6==1 under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 14:51:49 +00:00 |
|
Vadim Zeitlin
|
c9bccf239c
|
replaced unweildy GAddress functions with wxSockAddressImpl class, similarly to GSocket -> wxSocketImpl transition; share more code between IPv4 and IPv6 branches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-29 14:35:48 +00:00 |
|
Francesco Montorsi
|
5c87527c5a
|
move Ellipsize() to wxControl so it can be easily used by other controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 21:16:00 +00:00 |
|
Francesco Montorsi
|
079f4130b8
|
no real change: rename wxPendingEvents to wxHandlersWithPendingEvents since its current name is misleading; that's not a list of events but a list of event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 19:30:43 +00:00 |
|
Francesco Montorsi
|
4520d5836a
|
refactor wxStaticText::Ellipsize so it's a static public utility function; document it and a couple of other useful functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 19:24:13 +00:00 |
|
Vadim Zeitlin
|
9140731891
|
implement DispatchTimeout() for wxOSX/Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 14:32:49 +00:00 |
|
Vadim Zeitlin
|
1df4b19481
|
implement DispatchTimeout() for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 14:25:00 +00:00 |
|
Francesco Montorsi
|
eed80e5efe
|
restore tabg.h and tabg.cpp for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 11:32:37 +00:00 |
|
Francesco Montorsi
|
d0960f6d3b
|
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime check for correct implementation of the Clone() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-28 01:29:37 +00:00 |
|
Vadim Zeitlin
|
14372de82e
|
move Read/Write() to common code, there was almost nothing platform-specific in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 22:49:46 +00:00 |
|
Vadim Zeitlin
|
62088a3c3b
|
wxSocketImpl::Shutdown() doesn't need to be virtual, its implementation can the same in Unix and Win32 versions (events are already disabled by Close() so there is no need to do it again explicitly under Unix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 22:03:34 +00:00 |
|
Vadim Zeitlin
|
7d66cdccd0
|
don't remove/add back the socket to the list of inputs monitored by the event loop all the time but just leave it there until the socket is destroyed; this should be beneficial from performance point of view (although hard to measure) and also makes the code simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 21:56:05 +00:00 |
|
Vadim Zeitlin
|
cf21e2fc0b
|
remove the now unused Connect_Timeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 21:49:35 +00:00 |
|
Vadim Zeitlin
|
5e9238f9c6
|
remove the badle defined and apparently unnecessary wxSocketImpl::m_detected field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 21:48:42 +00:00 |
|
Vadim Zeitlin
|
64b1cea09a
|
got rid of wxSocketBase::m_error which could get out of sync with wxSocketImpl::m_error -- one error indicator is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 17:56:03 +00:00 |
|
Vadim Zeitlin
|
2b036c4b23
|
our sockets are always non-blocking anyhow so throw away all the code dealing with checking if they're blocking; also merge Unix/Win32 versions of connect() and accept() handling as they were almost identical except for the different checking of the return value which was factored out into a platform-specific GetLastError() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 17:15:22 +00:00 |
|
Francesco Montorsi
|
64afee8513
|
remove the long deprecated wxTabCtrl class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 14:58:12 +00:00 |
|
Francesco Montorsi
|
f8a5d9dac6
|
fix wxSashEvent, wxFindDialogEvent, wxSplitterEvent to implement Clone() correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 14:48:26 +00:00 |
|
Francesco Montorsi
|
7e7a19f152
|
Fix wxCalendarEvent and wxTextUrlEvent event classes implementing Clone() correctly (as pointed out by the new runtime check)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 14:23:38 +00:00 |
|
Francesco Montorsi
|
e47859daeb
|
fix wxTimerEvent and wxTreeCtrl to use IMPLEMENT_DYNAMIC_CLASS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 13:40:49 +00:00 |
|
Vadim Zeitlin
|
564c7fc412
|
implement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to not use wxEventLoopImpl which it doesn't need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 11:01:39 +00:00 |
|
Vadim Zeitlin
|
9c26672d4d
|
move generic DispatchTimeout() implementation in the header as evtloopcmn.cpp is part of wxBase and so can't define a method of a wxCore class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-27 00:04:57 +00:00 |
|
Vadim Zeitlin
|
00414faf34
|
use DispatchTimeout() and/or select() with timeout instead of polling loop in wxSocket::DoWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 22:50:50 +00:00 |
|
Vadim Zeitlin
|
9af42efda6
|
added wxEventLoop::DispatchTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 22:28:34 +00:00 |
|
Vadim Zeitlin
|
aa8cbe0b64
|
return true if we did anything in NotifyExpired()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 22:27:02 +00:00 |
|
Vadim Zeitlin
|
22185a1f15
|
remove m_use_events from Unix wxSocket implementation, we always need asynchronous socket notifications now (and this was always the case under Windows anyhow), even if we don't always generate wx events corresponding to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 20:20:46 +00:00 |
|
Jaakko Salli
|
f521bae665
|
Have wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on property's modified-status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 18:46:08 +00:00 |
|
Vadim Zeitlin
|
5c1193e090
|
remember the events we were notified about in OnRequest() (not used yet but necessary for upcoming changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-26 14:33:52 +00:00 |
|
Vadim Zeitlin
|
c6b1063250
|
refactor Input/Output_Timeout: don't duplicate the same code in MSW/Unix code and also don't duplicate it for input and output, one function is enough for both
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 20:27:35 +00:00 |
|
Vadim Zeitlin
|
9508a3e9a0
|
mingw32 typedef's and not define's SOCKET so test for __WXMSW__ before redefining it ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 19:52:00 +00:00 |
|
Vadim Zeitlin
|
2606716181
|
rename gsockmsw files to sockmsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 19:10:46 +00:00 |
|
Vadim Zeitlin
|
bb20575e6e
|
rename gsockmsw files to sockmsw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 18:41:13 +00:00 |
|
Vadim Zeitlin
|
07792edb2e
|
use void pointers, not char ones, in socket IO functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 18:29:08 +00:00 |
|
Vadim Zeitlin
|
e4de7a7759
|
don't use the client data for storing wxOwnerDrawn in wxCheckListbox implementation as we already store them in internal array anyhow, this allows the user to use his own client data with wxCheckListbox (#10290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 13:10:55 +00:00 |
|
Vadim Zeitlin
|
9f2968ad0b
|
make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 13:03:24 +00:00 |
|
Vadim Zeitlin
|
0aa619b532
|
unhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 12:45:59 +00:00 |
|
Vadim Zeitlin
|
bc448be341
|
make Scroll() itself virtual too as existing code might override it (but new code should override DoScroll() only); use the same access in the derived classes as in wxScrollHelperBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 12:27:20 +00:00 |
|
Vadim Zeitlin
|
bca1504431
|
deprecate OnScroll() which existed for compatibility only even before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-25 12:23:28 +00:00 |
|
Vadim Zeitlin
|
1ddb6d2857
|
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 21:58:05 +00:00 |
|
Vadim Zeitlin
|
938161a6a4
|
compilation fix after wxScrollHelperNative renaming to wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 17:13:20 +00:00 |
|
Vadim Zeitlin
|
29e1398fa0
|
further untangle generic and native GTK implementations of wxScrollHelper: use the standard wxScrollHelperBase/wxScrollHelper naming convention and move the stuff unused by GTK in the generic implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 16:43:30 +00:00 |
|
Vadim Zeitlin
|
69e9752529
|
provide generic implementation for ShowScrollbars() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 16:11:02 +00:00 |
|
Vadim Zeitlin
|
6362d82b3e
|
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 15:58:37 +00:00 |
|
Vadim Zeitlin
|
0b0f6f87d5
|
add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 15:11:00 +00:00 |
|
Paul Cornett
|
11d8dfd2fb
|
fix saving/restoring size when WM supports _NET_FRAME_EXTENTS but not _NET_REQUEST_FRAME_EXTENTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 07:51:15 +00:00 |
|
Vadim Zeitlin
|
1808bb47b9
|
also call AddGrowableRow/Col() for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-24 00:29:38 +00:00 |
|
Vadim Zeitlin
|
5dd238c6dd
|
call wxFlexGridSizer::AddGrowableRow/Col() only after creating the sizer children, otherwise row/col index could be out of range (#10294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-23 22:33:08 +00:00 |
|
Vadim Zeitlin
|
2cce66352f
|
set correct properties for the new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-23 15:29:28 +00:00 |
|
Robert Roebling
|
4219d8b027
|
Add wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-23 14:56:07 +00:00 |
|
Robert Roebling
|
311c1be9ed
|
Added pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-23 12:05:06 +00:00 |
|
Vadim Zeitlin
|
763163a80a
|
split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency with all the other controls; provide access to new/old value of the cell in the event object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-22 22:58:49 +00:00 |
|
Paul Cornett
|
01fc49320e
|
non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-22 17:11:15 +00:00 |
|
Vadim Zeitlin
|
ae322a4870
|
undid change accidentally committed as part of r57093 but which didn't have anything to do with it and resulted in #10253
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-22 13:34:12 +00:00 |
|
Robert Roebling
|
c220de0b39
|
Added experimental async clipboard format query
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 22:15:50 +00:00 |
|
Vadim Zeitlin
|
1c7ae45ab5
|
fix for compilation with newer DMC headers (see #10112)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 02:48:45 +00:00 |
|
Vadim Zeitlin
|
89424d9b35
|
remove m_endModalCalled flag, it seems to be unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 01:37:39 +00:00 |
|
Vadim Zeitlin
|
88a6739128
|
don't restore the focus manually after closing the dialog, default Windows behaviour seems to work just fine now (see #10240)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-21 01:33:15 +00:00 |
|
Jaakko Salli
|
91c818f829
|
Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-20 15:47:05 +00:00 |
|
Robert Roebling
|
a881f34e49
|
Call Expand on an item's parent chain in EnsureVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-20 15:11:38 +00:00 |
|
Robert Roebling
|
76c13f8f22
|
Implemented wxBitmapToggleButton generically for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-19 16:04:31 +00:00 |
|
Vadim Zeitlin
|
014b109195
|
define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-19 09:58:49 +00:00 |
|
Vadim Zeitlin
|
5a9379d7b0
|
implement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 22:19:41 +00:00 |
|
Vadim Zeitlin
|
90dea0376a
|
don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 09:34:48 +00:00 |
|
Chris Elliott
|
5953e7c7d6
|
fix for Borland compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 09:26:58 +00:00 |
|
Vadim Zeitlin
|
1d9301a914
|
PCH-less build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 08:47:30 +00:00 |
|
Vadim Zeitlin
|
482d06f8b5
|
made wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-17 00:11:57 +00:00 |
|
Vadim Zeitlin
|
af67f39da8
|
added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 23:56:56 +00:00 |
|
Robert Roebling
|
5179bc0bca
|
Fixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 21:57:40 +00:00 |
|
Robert Roebling
|
739a839903
|
Added wxDataViewCtrl::IsExpanded(item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 21:23:55 +00:00 |
|
Vadim Zeitlin
|
31ec8b4e15
|
added wxGrid::SetColumnsOrder() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-16 15:53:38 +00:00 |
|
Vadim Zeitlin
|
613de0e89e
|
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 22:42:37 +00:00 |
|
Vadim Zeitlin
|
e8f25dbbce
|
added a helper function to show the popup menu allowing to configure the columns in header control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 11:03:59 +00:00 |
|
Vadim Zeitlin
|
565382de29
|
disable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpected clashes between the ids used in it and the update UI handlers elsewhere in the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 11:02:49 +00:00 |
|
Vadim Zeitlin
|
fe79f76ba9
|
added helper Is{Col,Row}Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 10:44:29 +00:00 |
|
Vadim Zeitlin
|
3039ade95d
|
renamed GetColHeader() to GetGridColHeader() for consistency with the other existing accessors (even if this is redundant) and made it public/documented (also documented the others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-15 10:34:04 +00:00 |
|
Vadim Zeitlin
|
59704b49c2
|
don't mistake a simple click on a column for a reordering drag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 23:12:30 +00:00 |
|
Vadim Zeitlin
|
2e733ec74c
|
fix several bugs in index/position translation code between wx and MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 22:54:34 +00:00 |
|
Vadim Zeitlin
|
040b9528d1
|
don't use the hack with adding hidden columns to the native control because it doesn't play well with resizing; maintain the mapping between wx and MSW column indices internally even if this is much more work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 22:06:58 +00:00 |
|
Vadim Zeitlin
|
f665539195
|
no changes, just refactoring: extracted the code to update the column indices array when the number of columns changes to the common code to be able to reuse it from the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 21:56:38 +00:00 |
|
Vadim Zeitlin
|
4797b0145c
|
refresh the grid after resetting the columns positions to the default order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 20:45:39 +00:00 |
|
Vadim Zeitlin
|
da5a641fc8
|
added wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 20:02:44 +00:00 |
|
Vadim Zeitlin
|
009c72169f
|
add support for hiding columns when using native header control in wxGrid; also added convenient Hide/ShowCol() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 17:28:57 +00:00 |
|
Vadim Zeitlin
|
11393d2900
|
add support for sorting to grid columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-14 00:02:30 +00:00 |
|
Kevin Ollivier
|
e413198572
|
Forward port new wxRenderer methods in 2.8 to trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-13 17:36:27 +00:00 |
|
Vadim Zeitlin
|
cd68daf58a
|
support column reordering using drag and drop when using wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-13 00:24:39 +00:00 |
|
Vadim Zeitlin
|
cd4f6f5f8f
|
fix compuation of dirty cells when the columns are reordered, this didn't work at all before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-12-12 17:34:13 +00:00 |
|