Vadim Zeitlin
e7ae8a69ea
demonstrate column reordering -- currently it demonstrates that it's completely broken in various and interesting ways
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:23:34 +00:00
Vadim Zeitlin
84c144785b
don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:13:21 +00:00
Vadim Zeitlin
8acad210fa
don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:51:51 +00:00
Vadim Zeitlin
24973882e4
removed small and tabular grid tests which didn't seem to do anything useful (will replace the latter with a test of column reodering soon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:13:46 +00:00
Francesco Montorsi
435c1bc4d2
document default ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 14:46:07 +00:00
Vadim Zeitlin
ebaa7e48fe
really fix the typo in the message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:53:13 +00:00
Francesco Montorsi
0a29d575ca
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:49:56 +00:00
Vadim Zeitlin
8d00e34735
fix typo in new wxVector(size_t, T) ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 03:49:02 +00:00
Vadim Zeitlin
579213e97b
compilation fix after making wxSocketImpl derive from wxFDIOHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:52:14 +00:00
Vadim Zeitlin
ceef3893cb
replace the mismatched new[]/delete (bug #10234 ) with a wxVector
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:30:58 +00:00
Vadim Zeitlin
664e5ff93e
add wxVector(size_t size[, const value_type& value]) ctors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:28:44 +00:00
Vadim Zeitlin
d9698bd4ac
cleanup the Win32 window classes registration code: remove global variables and register the window classes we use on demand to avoid registering MDI or GL classes unnecessarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:19:55 +00:00
Vadim Zeitlin
12b661cd1e
more updates after r57026 change to app.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 15:05:01 +00:00
Vadim Zeitlin
5dec01d469
update after r57026 change to app.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 15:03:28 +00:00
Vadim Zeitlin
d2fa187325
get rid of CE-specific code for class name registration, the unique instance enforcement should be implemented by using wxSingleInstanceChecked if it's really necessary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:59:21 +00:00
Vadim Zeitlin
0e2ad3233b
don't reuse the double click handled in activation event handler for toggling the item ( #9761 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:49:47 +00:00
Vadim Zeitlin
49ac39e3f4
correct CalcSizeFromPage() for multiline notebooks ( #2335 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:47:02 +00:00
Vadim Zeitlin
e408bf5257
add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:41:02 +00:00
Vadim Zeitlin
56ce942b62
don't use wxChar arrays and wxStrncpy (especially as the latter was used incorrectly) in Mac-specific type/creator code, just use wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:51:09 +00:00
Vadim Zeitlin
601a5d6e72
properly NUL-terminate the string when using strncpy() ( #10230 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:43:32 +00:00
Francesco Montorsi
339cfab649
add GetSize also to wxGDIImage since wxBitmap under some ports derives from wxGDIImage and not from wxBitmapBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 00:24:57 +00:00
Francesco Montorsi
36d0c79521
fix wrong placement of the @apperance tag previously committed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:48:58 +00:00
Francesco Montorsi
7a9a204e09
remove @appearance tag from abstract classes; add the missing screenshots of some controls to wxGTK image folder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:16:24 +00:00
Francesco Montorsi
1bf045456f
fix crash caused by cancelling querybitmap dialog; fix crash caused by clicking 'add widget icons' on an empty bitmapcombobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:32:00 +00:00
Francesco Montorsi
c74b07ac26
provide GetSize() getters in wxBitmap and wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:29:29 +00:00
Francesco Montorsi
60b71826d6
return wxDefaultSize (as done in all other platforms) when the combo box is empty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 21:50:22 +00:00
Vadim Zeitlin
f3fe2d4ecb
remove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 20:59:52 +00:00
Francesco Montorsi
11dd61cb3d
move style table in the detailed description like for all other interface headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:33:37 +00:00
Francesco Montorsi
b860ca4ce7
restore correct doctype
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:29:14 +00:00
Francesco Montorsi
5590a5529e
added the possibility (for doxygen >= 1.5.7.1) to generate a QCH file for wxWidgets documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:28:15 +00:00
Francesco Montorsi
5bc4758090
make more readable the checks for incoherent style flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 17:58:39 +00:00
Francesco Montorsi
1adc52fd91
internal variables of wxFileHistory are protected, not public; in any case, do not document them since they are all editable safely using the accessors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 17:58:00 +00:00
Francesco Montorsi
c763d6f063
no change; just reformat wxThreadHelper::KillThread's comment and refer to wxThreadHelperThread inside it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 17:56:10 +00:00
Francesco Montorsi
3d5930b5ea
deprecate Create() function in favour of CreateThread(); its name is too generic for a mix-in class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 17:43:34 +00:00
Julian Smart
43a0d1e1e9
Compile fix
...
Centre/right justification fix when there is a right indent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 16:04:55 +00:00
Julian Smart
34b4899df5
Fixed centering and right-justification when combined with left indentation (bug #10221 ).
...
Fixed wrapping problem for long lines (bug #10149 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:53:13 +00:00
Vadim Zeitlin
54cb21d692
remove wxSocketManager::CreateSocket() function, we don't need to have different wxSocketImpl implementation for the same platform, all the differences between console and GUI applications are abstracted by wxSocketManager::Install/Uninstall_Callback() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:06:50 +00:00
Vadim Zeitlin
acd523a964
move enabled callbacks flag down to wxSocketImplUnix from wxSocketImplFDIO, this allows to get rid of the letter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:01:41 +00:00
Vadim Zeitlin
a9d859df6f
make wxSocketImplUnix inherit from wxFDIOHandler as they're used for almost the same purpose; this removes the need for the bridge wxSocketOHandler class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 14:39:49 +00:00
Vadim Zeitlin
9123889f20
no real changes, just moved wxSocketImplUnix ctor inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:43:41 +00:00
Vadim Zeitlin
86c5b12b21
also rename gsocketiohandler.* to socketiohandler.* and move it to wxNet where it belongs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:37:19 +00:00
Vadim Zeitlin
6091364135
rename various gsock* files to sock* (except for MSW where this will be done later)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 13:04:47 +00:00
Vadim Zeitlin
51fe4b60ab
Streamline wxSocket code: wxSocketBase now uses wxSocketImpl (previously known
...
as GSocket) which is a base class with various wxSocketImplXXX implementations
provided by different wxSocketManagers.
Share more code between ports (still not finished).
Refactor some code inside wxSocketImpl itself to be less redundant and fixed a
couple of minor bugs in the process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:07 +00:00
Julian Smart
29dbfacee2
Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
...
formatting dialog (fixes bug #10121 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:46:34 +00:00
Julian Smart
dc5de0dd36
wxRichTextCtrl no longer deletes a character when content is selected
...
before pressing Delete (fixes bug #10153 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:35:15 +00:00
Julian Smart
e516368243
Fixed HTML list output
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:18:00 +00:00
Vadim Zeitlin
312242ead1
fix g++ warning about assigning NULL to a non-pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 00:17:55 +00:00
Paul Cornett
e955eee585
fix for shown TLW having m_isShown == false, #9909
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-27 23:00:04 +00:00
Vadim Zeitlin
80cc5fc7ad
document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Francesco Montorsi
a5cc517ff6
make wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 17:24:00 +00:00