]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoVC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves
Vadim Zeitlin [Wed, 17 Dec 2008 15:22:16 +0000 (15:22 +0000)] 
VC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't scroll to the child which gets focus if it is already fully visible; more impor...
Vadim Zeitlin [Wed, 17 Dec 2008 14:46:09 +0000 (14:46 +0000)] 
don't scroll to the child which gets focus if it is already fully visible; more importantly, don't do anything if we can't make it fully visible anyhow (fixes bug in the comment 13 of #9563)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd u to file and lib path
Chris Elliott [Wed, 17 Dec 2008 14:34:11 +0000 (14:34 +0000)] 
add u to file and lib path

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocast both ints to doubles for the X and Y scale factors
Chris Elliott [Wed, 17 Dec 2008 14:21:57 +0000 (14:21 +0000)] 
cast both ints to doubles for the X and Y scale factors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agouse GetFileAttributes() to check for readonly files under Win9x, the NT method doesn...
Vadim Zeitlin [Wed, 17 Dec 2008 14:19:43 +0000 (14:19 +0000)] 
use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn't seem to work there (see #4111)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoanother header for PCH-less compilation
Vadim Zeitlin [Wed, 17 Dec 2008 13:25:36 +0000 (13:25 +0000)] 
another header for PCH-less compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix unused variable warning in release build
Vadim Zeitlin [Wed, 17 Dec 2008 11:30:31 +0000 (11:30 +0000)] 
fix unused variable warning in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH-less compilation fix
Vadim Zeitlin [Wed, 17 Dec 2008 11:29:36 +0000 (11:29 +0000)] 
PCH-less compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)
Vadim Zeitlin [Wed, 17 Dec 2008 10:21:05 +0000 (10:21 +0000)] 
fix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't hard code the menu bar height under WinCE (closes #10248)
Vadim Zeitlin [Wed, 17 Dec 2008 10:17:23 +0000 (10:17 +0000)] 
don't hard code the menu bar height under WinCE (closes #10248)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
Vadim Zeitlin [Wed, 17 Dec 2008 09:49:42 +0000 (09:49 +0000)] 
added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreplace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs
Vadim Zeitlin [Wed, 17 Dec 2008 09:47:39 +0000 (09:47 +0000)] 
replace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't crash if the extra controls are not used in the file dialog (closes #10260)
Vadim Zeitlin [Wed, 17 Dec 2008 09:40:40 +0000 (09:40 +0000)] 
don't crash if the extra controls are not used in the file dialog (closes #10260)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't change the value of the hash element if insert() didn't add it (closes #10261)
Vadim Zeitlin [Wed, 17 Dec 2008 09:34:48 +0000 (09:34 +0000)] 
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

15 years agofix for Borland compilation
Chris Elliott [Wed, 17 Dec 2008 09:26:58 +0000 (09:26 +0000)] 
fix for Borland compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomany improvements and corrections from Charles (see #10276)
Vadim Zeitlin [Wed, 17 Dec 2008 09:03:50 +0000 (09:03 +0000)] 
many improvements and corrections from Charles (see #10276)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH-less build fixes
Vadim Zeitlin [Wed, 17 Dec 2008 08:47:30 +0000 (08:47 +0000)] 
PCH-less build fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomade wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
Vadim Zeitlin [Wed, 17 Dec 2008 00:11:57 +0000 (00:11 +0000)] 
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

15 years agoadded wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide...
Vadim Zeitlin [Tue, 16 Dec 2008 23:56:56 +0000 (23:56 +0000)] 
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

15 years agoFixes #10246: wxDataViewCtrl - first row does not react on return-key
Robert Roebling [Tue, 16 Dec 2008 22:02:40 +0000 (22:02 +0000)] 
Fixes #10246: wxDataViewCtrl - first row does not react on return-key

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
Robert Roebling [Tue, 16 Dec 2008 21:57:40 +0000 (21:57 +0000)] 
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

15 years agosame as r57054 in 2.8
Chris Elliott [Tue, 16 Dec 2008 21:46:21 +0000 (21:46 +0000)] 
same as r57054 in 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosame as r57053 in 2.8
Chris Elliott [Tue, 16 Dec 2008 21:26:55 +0000 (21:26 +0000)] 
same as r57053 in 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded wxDataViewCtrl::IsExpanded(item)
Robert Roebling [Tue, 16 Dec 2008 21:23:55 +0000 (21:23 +0000)] 
Added wxDataViewCtrl::IsExpanded(item)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agotypo fix
Francesco Montorsi [Tue, 16 Dec 2008 20:42:12 +0000 (20:42 +0000)] 
typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog...
Francesco Montorsi [Tue, 16 Dec 2008 19:44:49 +0000 (19:44 +0000)] 
don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxGrid::SetColumnsOrder() too
Vadim Zeitlin [Tue, 16 Dec 2008 15:53:38 +0000 (15:53 +0000)] 
added wxGrid::SetColumnsOrder() too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMention header control in Category page
Robert Roebling [Tue, 16 Dec 2008 15:27:04 +0000 (15:27 +0000)] 
Mention header control in Category page

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomention that mouse events carry position in window coordinates of the window which...
Vadim Zeitlin [Tue, 16 Dec 2008 14:52:29 +0000 (14:52 +0000)] 
mention that mouse events carry position in window coordinates of the window which generated the event (#10274)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix initial best size of (check) list boxes under MSW
Vadim Zeitlin [Tue, 16 Dec 2008 13:59:04 +0000 (13:59 +0000)] 
fix initial best size of (check) list boxes under MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMoved wxWeakRef template docs from the misc category to the smart pointers category.
Bryan Petty [Tue, 16 Dec 2008 07:15:44 +0000 (07:15 +0000)] 
Moved wxWeakRef template docs from the misc category to the smart pointers category.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agothe dialogs documented here are defined in wxcore, not wxbase
Vadim Zeitlin [Mon, 15 Dec 2008 22:54:29 +0000 (22:54 +0000)] 
the dialogs documented here are defined in wxcore, not wxbase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agohandle actions of the columns popup menu in wxHeaderCtrl itself (but the derived...
Vadim Zeitlin [Mon, 15 Dec 2008 22:42:37 +0000 (22:42 +0000)] 
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

15 years agoFixed the incorrectly placed parenthesis so ScrollWindow is always called if there...
Bryan Petty [Mon, 15 Dec 2008 19:14:07 +0000 (19:14 +0000)] 
Fixed the incorrectly placed parenthesis so ScrollWindow is always called if there are window children.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH compilation fix
Vadim Zeitlin [Mon, 15 Dec 2008 12:22:54 +0000 (12:22 +0000)] 
PCH compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded a helper function to show the popup menu allowing to configure the columns...
Vadim Zeitlin [Mon, 15 Dec 2008 11:03:59 +0000 (11:03 +0000)] 
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

15 years agodisable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpec...
Vadim Zeitlin [Mon, 15 Dec 2008 11:02:49 +0000 (11:02 +0000)] 
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

15 years agoadded helper Is{Col,Row}Shown()
Vadim Zeitlin [Mon, 15 Dec 2008 10:44:29 +0000 (10:44 +0000)] 
added helper Is{Col,Row}Shown()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agorenamed GetColHeader() to GetGridColHeader() for consistency with the other existing...
Vadim Zeitlin [Mon, 15 Dec 2008 10:34:04 +0000 (10:34 +0000)] 
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

15 years agoreturn correct (false) value in onSeparator from FindColumnAtPoint() when the positio...
Vadim Zeitlin [Mon, 15 Dec 2008 10:08:50 +0000 (10:08 +0000)] 
return correct (false) value in onSeparator from FindColumnAtPoint() when the position is beyond the last column

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't leave nrows/ncols uninitialized in wxGridSizer::CalcRowsCols()
Vadim Zeitlin [Mon, 15 Dec 2008 09:49:57 +0000 (09:49 +0000)] 
don't leave nrows/ncols uninitialized in wxGridSizer::CalcRowsCols()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't mistake a simple click on a column for a reordering drag
Vadim Zeitlin [Sun, 14 Dec 2008 23:12:30 +0000 (23:12 +0000)] 
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

15 years agofix several bugs in index/position translation code between wx and MSW
Vadim Zeitlin [Sun, 14 Dec 2008 22:54:34 +0000 (22:54 +0000)] 
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

15 years agoadded a button to reset the column order and the display of hidden columns to the...
Vadim Zeitlin [Sun, 14 Dec 2008 22:07:44 +0000 (22:07 +0000)] 
added a button to reset the column order and the display of hidden columns to the tabular grid frame

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't use the hack with adding hidden columns to the native control because it doesn...
Vadim Zeitlin [Sun, 14 Dec 2008 22:06:58 +0000 (22:06 +0000)] 
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

15 years agono changes, just refactoring: extracted the code to update the column indices array...
Vadim Zeitlin [Sun, 14 Dec 2008 21:56:38 +0000 (21:56 +0000)] 
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

15 years agorefresh the grid after resetting the columns positions to the default order
Vadim Zeitlin [Sun, 14 Dec 2008 20:45:39 +0000 (20:45 +0000)] 
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

15 years agocompilation fix after latest changes (missing header)
Vadim Zeitlin [Sun, 14 Dec 2008 20:27:35 +0000 (20:27 +0000)] 
compilation fix after latest changes (missing header)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
Vadim Zeitlin [Sun, 14 Dec 2008 20:02:44 +0000 (20:02 +0000)] 
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

15 years agoadd support for hiding columns when using native header control in wxGrid; also added...
Vadim Zeitlin [Sun, 14 Dec 2008 17:28:57 +0000 (17:28 +0000)] 
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

15 years agofix the loading of the isosurf data; it was not loaded correctly on my system because...
Francesco Montorsi [Sun, 14 Dec 2008 16:13:29 +0000 (16:13 +0000)] 
fix the loading of the isosurf data; it was not loaded correctly on my system because isosurf.dat uses dots as decimal separators and my locale requires commas; fixed instancing a wxLocale with wxLANGUAGE_ENGLISH)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoforce doxygen autolink wrt wxLanguage enum
Francesco Montorsi [Sun, 14 Dec 2008 16:11:22 +0000 (16:11 +0000)] 
force doxygen autolink wrt wxLanguage enum

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument wxFileOffset
Francesco Montorsi [Sun, 14 Dec 2008 15:05:18 +0000 (15:05 +0000)] 
document wxFileOffset

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreformat stream overview and provide a description hopefully correct, even if very...
Francesco Montorsi [Sun, 14 Dec 2008 14:51:42 +0000 (14:51 +0000)] 
reformat stream overview and provide a description hopefully correct, even if very short, for wxStreamBuffer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodistribute in the right places documentations for the overloads/structs used with...
Francesco Montorsi [Sun, 14 Dec 2008 14:06:47 +0000 (14:06 +0000)] 
distribute in the right places documentations for the overloads/structs used with wxCmdLineParser; mention wxAppConsole::OnInitCmdLine and wxAppConsole::OnCmdLineParsed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove old file not compiled/used anymore since at least 6 years
Francesco Montorsi [Sun, 14 Dec 2008 14:05:25 +0000 (14:05 +0000)] 
remove old file not compiled/used anymore since at least 6 years

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix note about OpenGL-enabling
Francesco Montorsi [Sun, 14 Dec 2008 14:03:48 +0000 (14:03 +0000)] 
fix note about OpenGL-enabling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono changes, just replaced SF bug number in a comment with Trac one
Vadim Zeitlin [Sun, 14 Dec 2008 12:43:45 +0000 (12:43 +0000)] 
no changes, just replaced SF bug number in a comment with Trac one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremoved testing code leftovers
Vadim Zeitlin [Sun, 14 Dec 2008 10:08:49 +0000 (10:08 +0000)] 
removed testing code leftovers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't call size_request to get best size of a non-native control, it will probably...
Paul Cornett [Sun, 14 Dec 2008 07:39:17 +0000 (07:39 +0000)] 
don't call size_request to get best size of a non-native control, it will probably return (0,0)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't close all unused descriptors in the child, this seems unnecessary and breaks...
Vadim Zeitlin [Sun, 14 Dec 2008 00:10:07 +0000 (00:10 +0000)] 
don't close all unused descriptors in the child, this seems unnecessary and breaks some (admittedly buggy) children (e.g. xboard)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd support for sorting to grid columns
Vadim Zeitlin [Sun, 14 Dec 2008 00:02:30 +0000 (00:02 +0000)] 
add support for sorting to grid columns

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoexplain EVT_GRID/EVT_GRID_CMD difference and don't duplicate the events documentation...
Vadim Zeitlin [Sat, 13 Dec 2008 22:08:18 +0000 (22:08 +0000)] 
explain EVT_GRID/EVT_GRID_CMD difference and don't duplicate the events documentation for both of them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoHopefully the right fix this time.
Kevin Ollivier [Sat, 13 Dec 2008 20:46:47 +0000 (20:46 +0000)] 
Hopefully the right fix this time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoHDC() fix was wrong, may have been just a problem with mismatched parens.
Kevin Ollivier [Sat, 13 Dec 2008 20:11:31 +0000 (20:11 +0000)] 
HDC() fix was wrong, may have been just a problem with mismatched parens.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix build, remove unused parameter from wxGetGdkWindowForDC()
Paul Cornett [Sat, 13 Dec 2008 18:56:25 +0000 (18:56 +0000)] 
fix build, remove unused parameter from wxGetGdkWindowForDC()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMSW compile fixes.
Kevin Ollivier [Sat, 13 Dec 2008 18:23:39 +0000 (18:23 +0000)] 
MSW compile fixes.

M    src/msw/renderer.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoForward port new wxRenderer methods in 2.8 to trunk.
Kevin Ollivier [Sat, 13 Dec 2008 17:36:27 +0000 (17:36 +0000)] 
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

15 years agoupdate the size of the wxGridSizer as items are added to wxGBSizer to avoid asserts...
Vadim Zeitlin [Sat, 13 Dec 2008 12:27:33 +0000 (12:27 +0000)] 
update the size of the wxGridSizer as items are added to wxGBSizer to avoid asserts in AddGrowableRow/Col()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't compute the columns/rows from the number of items if both were explicitly set...
Vadim Zeitlin [Sat, 13 Dec 2008 12:26:27 +0000 (12:26 +0000)] 
don't compute the columns/rows from the number of items if both were explicitly set by user

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosupport column reordering using drag and drop when using wxHeaderCtrl
Vadim Zeitlin [Sat, 13 Dec 2008 00:24:39 +0000 (00:24 +0000)] 
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

15 years agoextend the range of glib versions for which the GTK+ standard options can be passed...
Francesco Montorsi [Fri, 12 Dec 2008 23:00:06 +0000 (23:00 +0000)] 
extend the range of glib versions for which the GTK+ standard options can be passed to wxWidgets program since the _GOptionGroup structure never changed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix command line parsing
Francesco Montorsi [Fri, 12 Dec 2008 21:30:22 +0000 (21:30 +0000)] 
fix command line parsing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomodernize the sample removing global C-style functions; partially fix loading of...
Francesco Montorsi [Fri, 12 Dec 2008 20:42:51 +0000 (20:42 +0000)] 
modernize the sample removing global C-style functions; partially fix loading of the .dat.gz file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoput zlib streams in the archive category, too; fix some typos
Francesco Montorsi [Fri, 12 Dec 2008 19:34:42 +0000 (19:34 +0000)] 
put zlib streams in the archive category, too; fix some typos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agolink class groups with macro groups and provide a brief description for all groups
Francesco Montorsi [Fri, 12 Dec 2008 18:51:54 +0000 (18:51 +0000)] 
link class groups with macro groups and provide a brief description for all groups

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix compuation of dirty cells when the columns are reordered, this didn't work at...
Vadim Zeitlin [Fri, 12 Dec 2008 17:34:13 +0000 (17:34 +0000)] 
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

15 years agoSTL build: fix missing const which results in Insert(int, T) being called instead...
Vadim Zeitlin [Fri, 12 Dec 2008 16:57:11 +0000 (16:57 +0000)] 
STL build: fix missing const which results in Insert(int, T) being called instead of Insert(iterator, T) via iterator->bool conversion (this fixes at least one test failure)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix best size caching
Vadim Zeitlin [Fri, 12 Dec 2008 16:31:39 +0000 (16:31 +0000)] 
fix best size caching

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't test for best size not being 0, this doesn't pass under wxGTK
Vadim Zeitlin [Fri, 12 Dec 2008 16:29:11 +0000 (16:29 +0000)] 
don't test for best size not being 0, this doesn't pass under wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fixes for Unix build _with_ PCH
Vadim Zeitlin [Fri, 12 Dec 2008 16:21:49 +0000 (16:21 +0000)] 
compilation fixes for Unix build _with_ PCH

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix doxygen warnings
Francesco Montorsi [Fri, 12 Dec 2008 16:10:08 +0000 (16:10 +0000)] 
fix doxygen warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't assert at startup because of the static initialization of a wxLocale object...
Francesco Montorsi [Fri, 12 Dec 2008 15:58:03 +0000 (15:58 +0000)] 
don't assert at startup because of the static initialization of a wxLocale object requires a valid wxAppTraits object; init the locale later, in TestDefaultLang()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument wxInitializer and wxInitialize and wxUninitialize
Francesco Montorsi [Fri, 12 Dec 2008 15:56:19 +0000 (15:56 +0000)] 
document wxInitializer and wxInitialize and wxUninitialize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix typo
Francesco Montorsi [Fri, 12 Dec 2008 15:41:22 +0000 (15:41 +0000)] 
fix typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosplit AddCatalog docs for the two overloads
Francesco Montorsi [Fri, 12 Dec 2008 15:40:54 +0000 (15:40 +0000)] 
split AddCatalog docs for the two overloads

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreally fix STL compilation
Vadim Zeitlin [Fri, 12 Dec 2008 15:06:15 +0000 (15:06 +0000)] 
really fix STL compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd unit test for column reordering functions
Vadim Zeitlin [Fri, 12 Dec 2008 14:16:06 +0000 (14:16 +0000)] 
add unit test for column reordering functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't duplicate the column reordering in generic wxHeaderCtrl and wxGrid, extract...
Vadim Zeitlin [Thu, 11 Dec 2008 22:27:02 +0000 (22:27 +0000)] 
don't duplicate the column reordering in generic wxHeaderCtrl and wxGrid, extract it into a (public) helper function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoforward SetColPos() to the header window
Vadim Zeitlin [Thu, 11 Dec 2008 22:16:38 +0000 (22:16 +0000)] 
forward SetColPos() to the header window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't lose the scroll offset when the window is repositioned
Vadim Zeitlin [Thu, 11 Dec 2008 22:06:55 +0000 (22:06 +0000)] 
don't lose the scroll offset when the window is repositioned

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoin STL build wxVector elements need to be assignable as well as copy constructible
Vadim Zeitlin [Thu, 11 Dec 2008 21:41:33 +0000 (21:41 +0000)] 
in STL build wxVector elements need to be assignable as well as copy constructible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxGrid::UseNativeColHeader() (column reordering doesn't work yet); more wxGrid...
Vadim Zeitlin [Thu, 11 Dec 2008 19:21:20 +0000 (19:21 +0000)] 
added wxGrid::UseNativeColHeader() (column reordering doesn't work yet); more wxGrid clean up: refactor Init/InitVars/Create

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd bigger margins around column title when autosizing column width based on it,...
Vadim Zeitlin [Thu, 11 Dec 2008 19:20:15 +0000 (19:20 +0000)] 
add bigger margins around column title when autosizing column width based on it, it looks better like this

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agothere is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit...
Vadim Zeitlin [Thu, 11 Dec 2008 19:17:55 +0000 (19:17 +0000)] 
there is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit(), the base class does it already if the latter returns true

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agogenerate EVT_HEADER_RESIZING events from HDN_ITEMCHANGING, not from HDN_TRACK which...
Vadim Zeitlin [Thu, 11 Dec 2008 18:57:03 +0000 (18:57 +0000)] 
generate EVT_HEADER_RESIZING events from HDN_ITEMCHANGING, not from HDN_TRACK which we don't seem to be getting at all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxHeaderCtrl::OnColumnCountChanging()
Vadim Zeitlin [Thu, 11 Dec 2008 17:15:43 +0000 (17:15 +0000)] 
added wxHeaderCtrl::OnColumnCountChanging()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded wxPropertyGridInterface::RemoveProperty()
Jaakko Salli [Thu, 11 Dec 2008 17:11:35 +0000 (17:11 +0000)] 
Added wxPropertyGridInterface::RemoveProperty()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix wxTextCtrl::Replace() under wxGTK; added unit test for it and describe its effect...
Vadim Zeitlin [Thu, 11 Dec 2008 16:46:25 +0000 (16:46 +0000)] 
fix wxTextCtrl::Replace() under wxGTK; added unit test for it and describe its effect on the insertion point

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSpinCtrl editor's 'value change by mouse motion' feature is made optional, enabled...
Jaakko Salli [Thu, 11 Dec 2008 16:14:55 +0000 (16:14 +0000)] 
SpinCtrl editor's 'value change by mouse motion' feature is made optional, enabled via 'MotionSpin' attribute. Also, for now only enabled on MSW (mouse capture etc. inconsistent on native wxGTK spinbutton?).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775