]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoMake sure the user can't select the text.
Kevin Ollivier [Sun, 8 Mar 2009 03:32:37 +0000 (03:32 +0000)] 
Make sure the user can't select the text.

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

15 years agodetect adding too many items to a grid sizer sooner and don't crash if this happens
Vadim Zeitlin [Sat, 7 Mar 2009 23:37:51 +0000 (23:37 +0000)] 
detect adding too many items to a grid sizer sooner and don't crash if this happens

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

15 years agosupport %l in wxDateTime::ParseFormat()
Vadim Zeitlin [Sat, 7 Mar 2009 19:36:59 +0000 (19:36 +0000)] 
support %l in wxDateTime::ParseFormat()

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

15 years agooptimize Replace() to use a linear algorithm (closes #9135)
Vadim Zeitlin [Sat, 7 Mar 2009 16:07:58 +0000 (16:07 +0000)] 
optimize Replace() to use a linear algorithm (closes #9135)

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

15 years agoadd wxUSE_CONFIG checks (see #10560)
Vadim Zeitlin [Sat, 7 Mar 2009 15:49:57 +0000 (15:49 +0000)] 
add wxUSE_CONFIG checks (see #10560)

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

15 years agono changes, just remove an extra space (see #10560)
Vadim Zeitlin [Sat, 7 Mar 2009 15:49:32 +0000 (15:49 +0000)] 
no changes, just remove an extra space (see #10560)

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

15 years agoreplace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguis...
Vadim Zeitlin [Sat, 7 Mar 2009 15:39:09 +0000 (15:39 +0000)] 
replace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguish between cancelling the dialog and not selecting any items in it (closes #10057)

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

15 years agocorrect size of extra controls in pixels to dialogs units correctly (see #9679)
Vadim Zeitlin [Sat, 7 Mar 2009 15:28:47 +0000 (15:28 +0000)] 
correct size of extra controls in pixels to dialogs units correctly (see #9679)

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

15 years agodon't add the sash size to the best size if the window is not actually split (see...
Vadim Zeitlin [Sat, 7 Mar 2009 15:16:48 +0000 (15:16 +0000)] 
don't add the sash size to the best size if the window is not actually split (see #10533)

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

15 years agoalso remove WXUNUSED_UNLESS_DEBUG to fix release build after t59404
Vadim Zeitlin [Sat, 7 Mar 2009 15:10:49 +0000 (15:10 +0000)] 
also remove WXUNUSED_UNLESS_DEBUG to fix release build after t59404

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

15 years agocompilation fix: add missing header after r59404
Vadim Zeitlin [Sat, 7 Mar 2009 15:08:52 +0000 (15:08 +0000)] 
compilation fix: add missing header after r59404

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

15 years agowxMac requires UTF-8 for wxTextDataoObject
Robert Roebling [Sat, 7 Mar 2009 14:54:01 +0000 (14:54 +0000)] 
wxMac requires UTF-8 for wxTextDataoObject

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

15 years agostore our styles in wxSpinCtrlGenericBase ctor (needed to make the changes of r59410...
Vadim Zeitlin [Sat, 7 Mar 2009 14:37:53 +0000 (14:37 +0000)] 
store our styles in wxSpinCtrlGenericBase ctor (needed to make the changes of r59410 actually work, see #10557)

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

15 years agosupport wxSP_WRAP in generic implementation (closes #10557)
Vadim Zeitlin [Sat, 7 Mar 2009 14:27:06 +0000 (14:27 +0000)] 
support wxSP_WRAP in generic implementation (closes #10557)

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

15 years agouse wxLog::Log() instead of ugly cast
Vadim Zeitlin [Sat, 7 Mar 2009 14:25:38 +0000 (14:25 +0000)] 
use wxLog::Log() instead of ugly cast

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

15 years agosuppress wxLog::DoLog() and DoLogString() hiding warnings
Vadim Zeitlin [Sat, 7 Mar 2009 14:23:31 +0000 (14:23 +0000)] 
suppress wxLog::DoLog() and DoLogString() hiding warnings

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

15 years agowxDATAVIEW_CELL_ACTIVATABLE translates Editable under OS X. Maybe we should remove...
Robert Roebling [Sat, 7 Mar 2009 14:09:01 +0000 (14:09 +0000)] 
wxDATAVIEW_CELL_ACTIVATABLE translates Editable under OS X. Maybe we should remove the distinction.

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

15 years agofix generation of key events with Alt pressed broken by r59369 (see #626)
Vadim Zeitlin [Sat, 7 Mar 2009 14:07:45 +0000 (14:07 +0000)] 
fix generation of key events with Alt pressed broken by r59369 (see #626)

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

15 years agoadd wxUSE_CONFIG guard
Vadim Zeitlin [Sat, 7 Mar 2009 14:03:45 +0000 (14:03 +0000)] 
add wxUSE_CONFIG guard

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

15 years agoadded wxProtocolLog class for logging network requests/responses (closes #7464)
Vadim Zeitlin [Sat, 7 Mar 2009 13:58:39 +0000 (13:58 +0000)] 
added wxProtocolLog class for logging network requests/responses (closes #7464)

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

15 years agoReport first selected item in selection change event
Robert Roebling [Sat, 7 Mar 2009 13:46:28 +0000 (13:46 +0000)] 
Report first selected item in selection change event

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

15 years agoMake wxDataViewCtrl::GetBestSize() return a height of 80 on OSX as per the other...
Robert Roebling [Sat, 7 Mar 2009 13:33:27 +0000 (13:33 +0000)] 
Make wxDataViewCtrl::GetBestSize() return a height of 80 on OSX as per the other platforms

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

15 years agoCorrect define
Robert Roebling [Sat, 7 Mar 2009 12:11:17 +0000 (12:11 +0000)] 
Correct define

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

15 years agoFor search ctrl, the bordered and bezeled styles destroy the control's rounded border...
Kevin Ollivier [Sat, 7 Mar 2009 04:20:52 +0000 (04:20 +0000)] 
For search ctrl, the bordered and bezeled styles destroy the control's rounded border and white background for some reason. This gives us "double borders", but for the moment it's better than the old look.

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

15 years agoAdd alignment support, and more tweaks for label size issues, though I hope to find...
Kevin Ollivier [Sat, 7 Mar 2009 04:19:26 +0000 (04:19 +0000)] 
Add alignment support, and more tweaks for label size issues, though I hope to find the core cause and solution soon.

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

15 years agofix wxDataObjectComposite::GetFormatCount and add some comments to explain the reason...
Francesco Montorsi [Fri, 6 Mar 2009 23:42:06 +0000 (23:42 +0000)] 
fix wxDataObjectComposite::GetFormatCount and add some comments to explain the reason of recents modifications to wxDataObjectComposite (closes #10430)

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

15 years agowxBusyInfo now uses wxGenericStaticText under GTK+, more Refresh/Update updates
Robert Roebling [Fri, 6 Mar 2009 23:30:54 +0000 (23:30 +0000)] 
wxBusyInfo now uses wxGenericStaticText under GTK+, more Refresh/Update updates

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

15 years agowxDataViewColumn derives from wxSettableHeaderColumn, not from wxHeaderColumn
Francesco Montorsi [Fri, 6 Mar 2009 22:57:03 +0000 (22:57 +0000)] 
wxDataViewColumn derives from wxSettableHeaderColumn, not from wxHeaderColumn

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

15 years agodon't return hardcoded constants for empty renderers, introduce wxDVC_DEFAULT_RENDERE...
Francesco Montorsi [Fri, 6 Mar 2009 22:56:27 +0000 (22:56 +0000)] 
don't return hardcoded constants for empty renderers, introduce wxDVC_DEFAULT_RENDERER_SIZE.
Some code styling review (indentation, long line wrapping, etc)

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

15 years agofix wxTextDataObject::GetDataHere and SetData functions (under wxMSW) so that they...
Francesco Montorsi [Fri, 6 Mar 2009 22:45:00 +0000 (22:45 +0000)] 
fix wxTextDataObject::GetDataHere and SetData functions (under wxMSW) so that they work with strings with embedded NULLs and can cope with non-NULL terminated arrays.

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

15 years agomove wxDataFormat and wxDataObject docs at the beginning of the file, before the...
Francesco Montorsi [Fri, 6 Mar 2009 22:36:03 +0000 (22:36 +0000)] 
move wxDataFormat and wxDataObject docs at the beginning of the file, before the derived classes' docs.
Many small improvements.
Document wxTextDataObject::GetFormatCount, GetAllFormats(), GetFormat() functions as the wxDataObjectSimple docs for those functions result misleading for wxTextDataObject (closes #10431)

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

15 years agofix typo (part of r59384)
Francesco Montorsi [Fri, 6 Mar 2009 20:45:56 +0000 (20:45 +0000)] 
fix typo (part of r59384)

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

15 years agoremove wxT() and _() macros to make the sample more readable; add File->Clear log...
Francesco Montorsi [Fri, 6 Mar 2009 20:45:04 +0000 (20:45 +0000)] 
remove wxT() and _() macros to make the sample more readable; add File->Clear log menuitem; re-add m_container flag in MyMusicTreeModelNode and describe in a TODO/FIXME item why it's needed; warn when selecting the ninth symphony is not possible

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

15 years agosome more const-ification of HasEditorCtrl
Francesco Montorsi [Fri, 6 Mar 2009 20:40:36 +0000 (20:40 +0000)] 
some more const-ification of HasEditorCtrl

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

15 years agocomment out wxPrintf/wxLogDebug calls; fix some indentations; comment out the (debug...
Francesco Montorsi [Fri, 6 Mar 2009 20:39:23 +0000 (20:39 +0000)] 
comment out wxPrintf/wxLogDebug calls; fix some indentations; comment out the (debug) code explicitly crashing the application; protect with wxASSERTs the FindNode() return values, before they are dereferenced

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

15 years agouse install_name_tool when cross-compiling too: it's not very useful if the build...
Vadim Zeitlin [Fri, 6 Mar 2009 20:06:59 +0000 (20:06 +0000)] 
use install_name_tool when cross-compiling too: it's not very useful if the build machine can't execute host binaries but it might be possible to do this (e.g. using an emulator) and it doesn't hurt anyhow

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

15 years agoCorrect minor bishaviours in Expand() and Collapse()
Robert Roebling [Fri, 6 Mar 2009 19:32:07 +0000 (19:32 +0000)] 
Correct minor bishaviours in Expand() and Collapse()

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

15 years agoadded test for wxDataViewCtrl::Expand() and ::Collapse()
Robert Roebling [Fri, 6 Mar 2009 19:20:25 +0000 (19:20 +0000)] 
added test for wxDataViewCtrl::Expand() and ::Collapse()

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

15 years agoAdd new line at the end of the file
Robert Roebling [Fri, 6 Mar 2009 19:13:54 +0000 (19:13 +0000)] 
Add new line at the end of the file

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

15 years agoMake all instances of HasEditorCtrl() const, not just a few
Robert Roebling [Fri, 6 Mar 2009 19:07:40 +0000 (19:07 +0000)] 
Make all instances of HasEditorCtrl() const, not just a few

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

15 years agoInitialise DC only when needed and deinitilise it properly before, fixes #10543:...
Robert Roebling [Fri, 6 Mar 2009 18:52:30 +0000 (18:52 +0000)] 
Initialise DC only when needed and deinitilise it properly before, fixes #10543: wxGTK wxDataViewCtrl Assert and Crash

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

15 years agoProperty value images are no longer shrinked horizontally
Jaakko Salli [Fri, 6 Mar 2009 17:32:28 +0000 (17:32 +0000)] 
Property value images are no longer shrinked horizontally

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

15 years agodon't allow setting readonly combobox value to a string which is not one of the valid...
Vadim Zeitlin [Fri, 6 Mar 2009 16:31:26 +0000 (16:31 +0000)] 
don't allow setting readonly combobox value to a string which is not one of the valid choices in wxGTK neither and document this behaviour (closes #10549)

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

15 years agodocs/mac is now docs/osx.
Kevin Ollivier [Fri, 6 Mar 2009 16:26:42 +0000 (16:26 +0000)] 
docs/mac is now docs/osx.

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

15 years agoadded wxZlibStream::SetDictionary() (closes #10551)
Vadim Zeitlin [Fri, 6 Mar 2009 16:26:15 +0000 (16:26 +0000)] 
added wxZlibStream::SetDictionary() (closes #10551)

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

15 years agofix duplicate events for selection keys after the last change (see #626)
Vadim Zeitlin [Fri, 6 Mar 2009 16:13:23 +0000 (16:13 +0000)] 
fix duplicate events for selection keys after the last change (see #626)

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

15 years agono changes, just some minor cleanup
Vadim Zeitlin [Fri, 6 Mar 2009 10:56:21 +0000 (10:56 +0000)] 
no changes, just some minor cleanup

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

15 years agoonly set maximal tooltip width if it's greater than the previously set one to avoid...
Vadim Zeitlin [Fri, 6 Mar 2009 10:54:56 +0000 (10:54 +0000)] 
only set maximal tooltip width if it's greater than the previously set one to avoid breaking long lines if a shorter tooltip is added afterwards (see #10537)

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

15 years agopass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (close...
Vadim Zeitlin [Fri, 6 Mar 2009 10:38:45 +0000 (10:38 +0000)] 
pass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (closes #10544)

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

15 years agoRemoved conflicting virtual function
Julian Smart [Fri, 6 Mar 2009 08:19:31 +0000 (08:19 +0000)] 
Removed conflicting virtual function

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

15 years agoIndentation/coding style adjustments.
Francesco Montorsi [Fri, 6 Mar 2009 00:05:05 +0000 (00:05 +0000)] 
Indentation/coding style adjustments.
Make the columns resize when dragging the columns in the header control intercepting the EVT_HEADER_RESIZING event

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

15 years agofix crash when using wxDataViewListStore::DeleteAllItems
Francesco Montorsi [Fri, 6 Mar 2009 00:01:11 +0000 (00:01 +0000)] 
fix crash when using wxDataViewListStore::DeleteAllItems

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

15 years ago2nd (blind) fix for VC6 build
Vadim Zeitlin [Thu, 5 Mar 2009 23:41:27 +0000 (23:41 +0000)] 
2nd (blind) fix for VC6 build

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

15 years agoFill out the left and top fields as well.
Kevin Ollivier [Thu, 5 Mar 2009 22:54:02 +0000 (22:54 +0000)] 
Fill out the left and top fields as well.

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

15 years agoMake about dialog non-modal on GTK/Mac and don't show the OK button on Mac.
Kevin Ollivier [Thu, 5 Mar 2009 21:54:08 +0000 (21:54 +0000)] 
Make about dialog non-modal on GTK/Mac and don't show the OK button on Mac.

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

15 years agodo not use HDS_FLAT by default
Francesco Montorsi [Thu, 5 Mar 2009 21:47:59 +0000 (21:47 +0000)] 
do not use HDS_FLAT by default

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

15 years agoSheet support for wxDirDialog.
Kevin Ollivier [Thu, 5 Mar 2009 21:21:45 +0000 (21:21 +0000)] 
Sheet support for wxDirDialog.

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

15 years agoDon't use result for both NS and wx button ID values.
Kevin Ollivier [Thu, 5 Mar 2009 21:20:57 +0000 (21:20 +0000)] 
Don't use result for both NS and wx button ID values.

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

15 years agoSheet support for wxMessageDialog.
Kevin Ollivier [Thu, 5 Mar 2009 21:20:05 +0000 (21:20 +0000)] 
Sheet support for wxMessageDialog.

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

15 years agoFix for sheets based on NSAlert.
Kevin Ollivier [Thu, 5 Mar 2009 21:19:40 +0000 (21:19 +0000)] 
Fix for sheets based on NSAlert.

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

15 years agoFix typo.
Kevin Ollivier [Thu, 5 Mar 2009 19:22:02 +0000 (19:22 +0000)] 
Fix typo.

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

15 years agoMake sure we call SetEventObject before firing events.
Kevin Ollivier [Thu, 5 Mar 2009 19:21:32 +0000 (19:21 +0000)] 
Make sure we call SetEventObject before firing events.

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

15 years agoMake wxStaticText for OS X Cocoa properly size multiline strings.
Kevin Ollivier [Thu, 5 Mar 2009 19:20:36 +0000 (19:20 +0000)] 
Make wxStaticText for OS X Cocoa properly size multiline strings.

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

15 years agoUse sheets for native file dialogs if the dialog has its parent set.
Kevin Ollivier [Thu, 5 Mar 2009 19:19:28 +0000 (19:19 +0000)] 
Use sheets for native file dialogs if the dialog has its parent set.

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

15 years agoUpdated wxWidgets icons in art to use the new official logo.
Bryan Petty [Thu, 5 Mar 2009 18:20:38 +0000 (18:20 +0000)] 
Updated wxWidgets icons in art to use the new official logo.

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

15 years agodon't use WPARAM in the header (build fix after r59336)
Vadim Zeitlin [Thu, 5 Mar 2009 16:32:56 +0000 (16:32 +0000)] 
don't use WPARAM in the header (build fix after r59336)

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

15 years agoDon't set a large minimum size for both panes
Julian Smart [Thu, 5 Mar 2009 15:54:50 +0000 (15:54 +0000)] 
Don't set a large minimum size for both panes

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

15 years agoPrevent splitter sash being set below minimum size when moved
Julian Smart [Thu, 5 Mar 2009 15:44:01 +0000 (15:44 +0000)] 
Prevent splitter sash being set below minimum size when moved
(using the same minimum size for both windows is probably a bad design choice)

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

15 years agofix multiple problems with selection in controls with wxTR_MULTIPLE style (closes...
Vadim Zeitlin [Thu, 5 Mar 2009 14:13:19 +0000 (14:13 +0000)] 
fix multiple problems with selection in controls with wxTR_MULTIPLE style (closes #626)

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

15 years agofix total breakage of all fonts in wxMSW caused by r57542 which changed the value...
Vadim Zeitlin [Thu, 5 Mar 2009 14:09:37 +0000 (14:09 +0000)] 
fix total breakage of all fonts in wxMSW caused by r57542 which changed the value of wxSystemFont enum elements in spite of the comment saying not to do this right above it

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

15 years agoset svn properties correctly for the new files (please use the auto-props!)
Vadim Zeitlin [Thu, 5 Mar 2009 14:00:46 +0000 (14:00 +0000)] 
set svn properties correctly for the new files (please use the auto-props!)

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

15 years ago(blind) fix for VC6 build
Vadim Zeitlin [Thu, 5 Mar 2009 13:58:12 +0000 (13:58 +0000)] 
(blind) fix for VC6 build

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

15 years agoPCH-less build fix
Vadim Zeitlin [Thu, 5 Mar 2009 12:46:40 +0000 (12:46 +0000)] 
PCH-less build fix

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

15 years agoEnsure that WriteText moves the selection to the end and scrolls to the end, and...
Kevin Ollivier [Thu, 5 Mar 2009 05:43:59 +0000 (05:43 +0000)] 
Ensure that WriteText moves the selection to the end and scrolls to the end, and implement EVT_TEXT_ENTER for NSTextField.

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

15 years agoFix comparison operator for functions keys (fixes #10547).
Kevin Ollivier [Thu, 5 Mar 2009 05:23:25 +0000 (05:23 +0000)] 
Fix comparison operator for functions keys (fixes #10547).

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

15 years agoimprove look of wxDataViewCtrl and of its renderer on wxMSW when windows XP themeing...
Francesco Montorsi [Thu, 5 Mar 2009 00:36:17 +0000 (00:36 +0000)] 
improve look of wxDataViewCtrl and of its renderer on wxMSW when windows XP themeing is not used (wxRendererXP::DrawItemSelectionRect implementation is ok also for wxRendererMSW; share the code).
Fix a typo in the drawing code for horizontal rules in wxDataViewCtrl.

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

15 years agoEnsure we get mouse moved events.
Kevin Ollivier [Wed, 4 Mar 2009 23:34:52 +0000 (23:34 +0000)] 
Ensure we get mouse moved events.

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

15 years agobuild fix
Francesco Montorsi [Wed, 4 Mar 2009 23:23:28 +0000 (23:23 +0000)] 
build fix

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

15 years agoall code revisited.
Francesco Montorsi [Wed, 4 Mar 2009 22:33:18 +0000 (22:33 +0000)] 
all code revisited.
Main additions:
- now it's possible to change the DVC style dynamically
- make models more robust against deleting items, and against other allowed user actions
- comment portions of the code to make it more didactive

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

15 years agosome docs enhancements, in particular to wxDataViewListCtrl.
Francesco Montorsi [Wed, 4 Mar 2009 21:06:21 +0000 (21:06 +0000)] 
some docs enhancements, in particular to wxDataViewListCtrl.

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

15 years agoBy default, always refresh editor and redraw properties when property value is changed
Jaakko Salli [Wed, 4 Mar 2009 19:53:34 +0000 (19:53 +0000)] 
By default, always refresh editor and redraw properties when property value is changed

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

15 years agoDon't always set the titled mask.
Kevin Ollivier [Wed, 4 Mar 2009 19:09:24 +0000 (19:09 +0000)] 
Don't always set the titled mask.

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

15 years agoMore wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
Bryan Petty [Wed, 4 Mar 2009 19:04:46 +0000 (19:04 +0000)] 
More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).

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

15 years agoreorganize the sample splitting it in two source files and an additional header;...
Francesco Montorsi [Wed, 4 Mar 2009 17:21:40 +0000 (17:21 +0000)] 
reorganize the sample splitting it in two source files and an additional header; most important: don't tile all the controls into the main frame: it becomes too big; rather use a notebook control to properly layout them

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

15 years agobuild fix; document HasFeature() (should be part of r59313)
Francesco Montorsi [Wed, 4 Mar 2009 15:53:55 +0000 (15:53 +0000)] 
build fix; document HasFeature() (should be part of r59313)

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

15 years agono real change: just reorder the code
Francesco Montorsi [Wed, 4 Mar 2009 15:23:56 +0000 (15:23 +0000)] 
no real change: just reorder the code

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

15 years agoremove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there...
Francesco Montorsi [Wed, 4 Mar 2009 15:19:58 +0000 (15:19 +0000)] 
remove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there: GetStockObject(DEFAULT_PALETTE) returns a palette and not a font; so the resulting wxFont is wrong.
Expand and correct documentation for various system constants.
Provide wxSYS_COLOUR_FRAMEBK as a synonym for wxSYS_COLOUR_BTNFACE as it is the colour which must be used to make wxFrame background coherent with the background of the controls they (eventually) contain.

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

15 years agoadd headers to the samples' bakefiles so that they show up in MSVC project files
Francesco Montorsi [Wed, 4 Mar 2009 11:47:32 +0000 (11:47 +0000)] 
add headers to the samples' bakefiles so that they show up in MSVC project files

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

15 years agorevert addition of the simple listctrl; it doesn't help.
Francesco Montorsi [Wed, 4 Mar 2009 11:39:13 +0000 (11:39 +0000)] 
revert addition of the simple listctrl; it doesn't help.
Log the version of comctl32.dll under wxMSW; it's useful when reporting bugs or when debugging

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

15 years agoinserting missing include for non PCH-build
Jouk Jansen [Wed, 4 Mar 2009 07:42:42 +0000 (07:42 +0000)] 
inserting missing include for non PCH-build

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

15 years agoMore fixes for clickCount... even sometimes when respondsToSelector returned true...
Kevin Ollivier [Tue, 3 Mar 2009 23:23:51 +0000 (23:23 +0000)] 
More fixes for clickCount... even sometimes when respondsToSelector returned true we'd get a crash, so only check clickCount for up and down events.

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

15 years agoclarify the list of bitmap handlers natively supported.
Francesco Montorsi [Tue, 3 Mar 2009 23:10:13 +0000 (23:10 +0000)] 
clarify the list of bitmap handlers natively supported.
Clarify that wxBitmap::AddHandler isn't useful to the final user; wxImage::AddHandler should be used instead.

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

15 years agoRemove unneeded workaround for a ScrolledWindow issue that is now fixed
Jaakko Salli [Tue, 3 Mar 2009 21:17:36 +0000 (21:17 +0000)] 
Remove unneeded workaround for a ScrolledWindow issue that is now fixed

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

15 years agoRemove wxEnumProperty::ms_prevIndex
Jaakko Salli [Tue, 3 Mar 2009 21:04:08 +0000 (21:04 +0000)] 
Remove wxEnumProperty::ms_prevIndex

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

15 years agoupdate the list of samples
Francesco Montorsi [Tue, 3 Mar 2009 20:57:58 +0000 (20:57 +0000)] 
update the list of samples

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

15 years agouse ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in...
Vadim Zeitlin [Tue, 3 Mar 2009 19:20:44 +0000 (19:20 +0000)] 
use ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in autoconf one to ensure that the libraries appear at the end of the linker command line

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

15 years agoDon't crash if no scrollbar
Julian Smart [Tue, 3 Mar 2009 13:12:52 +0000 (13:12 +0000)] 
Don't crash if no scrollbar
Force wxVSCROLL in wxRTC

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

15 years agocompilation fix after last commit
Vadim Zeitlin [Tue, 3 Mar 2009 09:24:20 +0000 (09:24 +0000)] 
compilation fix after last commit

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

15 years agofix wxGTK1 compilation after wxTextEntry DoGetValue() change
Vadim Zeitlin [Tue, 3 Mar 2009 09:21:35 +0000 (09:21 +0000)] 
fix wxGTK1 compilation after wxTextEntry DoGetValue() change

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

15 years agofix virtual function hiding warnings
Vadim Zeitlin [Tue, 3 Mar 2009 09:21:03 +0000 (09:21 +0000)] 
fix virtual function hiding warnings

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