]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
14 years agoNo real changes, just convert a Mac-specific file to UTF-8.
Vadim Zeitlin [Sun, 20 Jun 2010 17:41:14 +0000 (17:41 +0000)] 
No real changes, just convert a Mac-specific file to UTF-8.

This is needed in order to be able to commit the next change, updating it.

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

14 years agousing proper dylib for darwin
Stefan Csomor [Sun, 20 Jun 2010 15:24:01 +0000 (15:24 +0000)] 
using proper dylib for darwin

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

14 years agono trailing slash for OSX_CARBON
Stefan Csomor [Sun, 20 Jun 2010 14:53:34 +0000 (14:53 +0000)] 
no trailing slash for OSX_CARBON

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

14 years agono trailing slash for OSX_CARBON
Stefan Csomor [Sun, 20 Jun 2010 14:49:40 +0000 (14:49 +0000)] 
no trailing slash for OSX_CARBON

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

14 years agono trailing slash for OSX_CARBON
Stefan Csomor [Sun, 20 Jun 2010 14:46:44 +0000 (14:46 +0000)] 
no trailing slash for OSX_CARBON

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

14 years agoEnsure that wxFileName::GetTempDir() doesn't return trailing slashes.
Vadim Zeitlin [Sun, 20 Jun 2010 11:46:49 +0000 (11:46 +0000)] 
Ensure that wxFileName::GetTempDir() doesn't return trailing slashes.

Sanitize the value returned by GetTempDir() to ensure that it doesn't have any
trailing path separators. This happened at least under OS X where standard
TMPDIR has a trailing slash and was inconsistent with the behaviour under the
other platforms.

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

14 years agoVC6 Fix: Use wxANY_AS() instead of wxAny::As<>()
Jaakko Salli [Sun, 20 Jun 2010 07:08:13 +0000 (07:08 +0000)] 
VC6 Fix: Use wxANY_AS() instead of wxAny::As<>()

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

14 years agogroup all interactive tests together to make it easier to understand what's going...
Francesco Montorsi [Sat, 19 Jun 2010 12:48:46 +0000 (12:48 +0000)] 
group all interactive tests together to make it easier to understand what's going on when running the sample

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

14 years agoMove dir tests from the console sample to DirTestCase
Francesco Montorsi [Sat, 19 Jun 2010 12:32:57 +0000 (12:32 +0000)] 
Move dir tests from the console sample to DirTestCase

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

14 years agofix for non-PCH builds
Francesco Montorsi [Sat, 19 Jun 2010 12:28:38 +0000 (12:28 +0000)] 
fix for non-PCH builds

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

14 years agoRemove identic implementations of wxDir::Exists from platform-specific files and...
Francesco Montorsi [Sat, 19 Jun 2010 11:07:16 +0000 (11:07 +0000)] 
Remove identic implementations of wxDir::Exists from platform-specific files and put it in dircmn.cpp (they all used wxDirExists).
Add wxDir::Make() and wxDir::Remove() for coherency with wxDir::Exists() and document them as simple aliases to wxFileName functions, just a bit more readable.

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

14 years agoAdded (sanity) checks for the inplace allocation
Jaakko Salli [Sat, 19 Jun 2010 11:01:22 +0000 (11:01 +0000)] 
Added (sanity) checks for the inplace allocation

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

14 years agoWork around Doxygen crash due to using @since inside event table.
Vadim Zeitlin [Sat, 19 Jun 2010 09:22:39 +0000 (09:22 +0000)] 
Work around Doxygen crash due to using @since inside event table.

All versions of doxygen seem to crash when encountering @since inside an event
table description, so don't use it there.

Also fixed a typo and improved wording of wxFileCtrl description slightly.

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

14 years agoMade wxAny::IsNull() doc string a bit clearer
Jaakko Salli [Fri, 18 Jun 2010 13:32:12 +0000 (13:32 +0000)] 
Made wxAny::IsNull() doc string a bit clearer

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

14 years agoAdded wxAny::HasSameType()
Jaakko Salli [Fri, 18 Jun 2010 13:30:47 +0000 (13:30 +0000)] 
Added wxAny::HasSameType()

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

14 years agoUse placement new when storing value in wxAnyValueBuffer. This should allow using...
Jaakko Salli [Fri, 18 Jun 2010 13:18:22 +0000 (13:18 +0000)] 
Use placement new when storing value in wxAnyValueBuffer. This should allow using any data type, regardless whether it is Plain Old Data or copyable or not.

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

14 years agoInstall headers in ribbon subdirectory.
Vadim Zeitlin [Fri, 18 Jun 2010 09:05:26 +0000 (09:05 +0000)] 
Install headers in ribbon subdirectory.

Add RICHTEXT_HDR to ALL_GUI_HDR variable in files.bkl to ensure that they're
installed as part of "make install".

Closes #12158.

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

14 years agoAllow specifying non default port for wxFTP connections.
Vadim Zeitlin [Thu, 17 Jun 2010 22:30:31 +0000 (22:30 +0000)] 
Allow specifying non default port for wxFTP connections.

Add a wxFTP::Connect() overload taking a port number.

Also specify the default port (21) explicitly if resolving "ftp" service name
failed.

Closes #12145.

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

14 years agoBackport fix from bakefile svn for autoconf 2.65.
Vadim Zeitlin [Thu, 17 Jun 2010 22:30:27 +0000 (22:30 +0000)] 
Backport fix from bakefile svn for autoconf 2.65.

Use AC_REQUIRE() instead of directly using a macro, the latter doesn't work
with autoconf 2.65.

This is a backport of r1337 from bakefile svn to allow people to use autoconf
2.65 immediately and will become unnecessary when we update to the next
bakefile version.

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

14 years agoDon't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS.
Vadim Zeitlin [Thu, 17 Jun 2010 22:30:22 +0000 (22:30 +0000)] 
Don't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS.

This provokes warnings from autoconf 2.65 and seems to be unnecessary even
with the previous versions.

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

14 years agoDocument that wxTextEntry was added in 2.9.0.
Václav Slavík [Thu, 17 Jun 2010 14:39:27 +0000 (14:39 +0000)] 
Document that wxTextEntry was added in 2.9.0.

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

14 years agoCompilation fix for GetAvailableTranslations().
Václav Slavík [Thu, 17 Jun 2010 13:04:25 +0000 (13:04 +0000)] 
Compilation fix for GetAvailableTranslations().

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

14 years agoMake the wxArrayString(int) ctor explicit.
Václav Slavík [Thu, 17 Jun 2010 13:04:21 +0000 (13:04 +0000)] 
Make the wxArrayString(int) ctor explicit.

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

14 years agoAdd wxTranslations::GetAvailableTranslations().
Václav Slavík [Wed, 16 Jun 2010 14:09:32 +0000 (14:09 +0000)] 
Add wxTranslations::GetAvailableTranslations().

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

14 years agoFix compilation when wxAny was disabled (fixes #12148)
Jaakko Salli [Tue, 15 Jun 2010 13:34:01 +0000 (13:34 +0000)] 
Fix compilation when wxAny was disabled (fixes #12148)

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

14 years agoAdded wxIsPod<>. Use it in wxAny instead of wxIsMovable<>.
Jaakko Salli [Mon, 14 Jun 2010 15:12:37 +0000 (15:12 +0000)] 
Added wxIsPod<>. Use it in wxAny instead of wxIsMovable<>.

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

14 years agoCorrections to the previous commmit.
Michael Wetherell [Mon, 14 Jun 2010 08:58:23 +0000 (08:58 +0000)] 
Corrections to the previous commmit.

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

14 years agoAdd --disable-gui and --disable-all-features builds to the ravnsgaard buildbot.
Michael Wetherell [Mon, 14 Jun 2010 06:00:06 +0000 (06:00 +0000)] 
Add --disable-gui and --disable-all-features builds to the ravnsgaard buildbot.

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

14 years agomoved non-interactive tests for wxDynamicLibrary, wxGet/SetEnv, wxTempFile, wxCopyFil...
Francesco Montorsi [Sun, 13 Jun 2010 14:30:55 +0000 (14:30 +0000)] 
moved non-interactive tests for wxDynamicLibrary, wxGet/SetEnv, wxTempFile, wxCopyFile to appropriate CppUnit test suites;
removed wxFile and wxTextFile tests (complete testsuites already exist for them)

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

14 years agoUse wxComboCtrl::SetTextCtrlStyle() in the combo sample
Jaakko Salli [Sun, 13 Jun 2010 10:00:14 +0000 (10:00 +0000)] 
Use wxComboCtrl::SetTextCtrlStyle() in the combo sample

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

14 years agoAdded wxComboCtrl::SetTextCtrlStyle()
Jaakko Salli [Sun, 13 Jun 2010 09:59:32 +0000 (09:59 +0000)] 
Added wxComboCtrl::SetTextCtrlStyle()

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

14 years agoDocumented pythonic iterators
Jaakko Salli [Sun, 13 Jun 2010 08:46:30 +0000 (08:46 +0000)] 
Documented pythonic iterators

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

14 years agoFix scrolling to the bottom in wxTextCtrl::AppendText().
Vadim Zeitlin [Sat, 12 Jun 2010 21:26:41 +0000 (21:26 +0000)] 
Fix scrolling to the bottom in wxTextCtrl::AppendText().

The old code used EM_LINESCROLL which could scroll too far if the caret wasn't
in the first line of the control. Instead of trying to compute the correct
number of the lines to scroll, just use WM_VSCROLL with SB_BOTTOM parameter
instead.

Closes #12123.

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

14 years agoFix processing of events for MRU entries #10 and more in docview.
Vadim Zeitlin [Sat, 12 Jun 2010 18:21:42 +0000 (18:21 +0000)] 
Fix processing of events for MRU entries #10 and more in docview.

We only handled events for wxID_FILE1..wxID_FILE9 range but there can be more
than 9 entries in the MRU list. Handle events for as many of them as there are
correctly.

This required adding a fallback handler for all menu events and checking if
the id of the menu item is in the MRU range inside it. Also move this to
wxDocManager itself from wxDocParentFrameAnyBase as it's common for all kinds
of frames anyhow.

Closes #12141.

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

14 years agoStop the timer in console IPC client sample once we don't need it any more.
Vadim Zeitlin [Sat, 12 Jun 2010 11:28:20 +0000 (11:28 +0000)] 
Stop the timer in console IPC client sample once we don't need it any more.

Under MSW the timer appeared to be flooding the message queue with timer
events faster than we could process them (which seems incredible for the timer
interval of 1 second but still seems to happen), so the idle events were never
generated and the sample didn't work at all.

Now stop the timer once we get a last notification from it to let the program
become idle and run the test function scheduled from the timer handler.

See #11528.

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

14 years agoAvoid sending spurious socket read notifications in wxMSW.
Vadim Zeitlin [Sat, 12 Jun 2010 11:28:15 +0000 (11:28 +0000)] 
Avoid sending spurious socket read notifications in wxMSW.

If a read notification is generated for a socket, it should be possible to
read something from it without blocking but this doesn't seem to be always the
case under MSW for some reason. And this results in all sorts of problems in
wxSocket and wxIPC code, so check for this at wxSocketImpl level and not send
the notification at all if there is no data to read.

See #11528.

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

14 years agoFor wxTextCtrl editor, set the bold font before margins are set up or it will not...
Jaakko Salli [Sat, 12 Jun 2010 10:31:24 +0000 (10:31 +0000)] 
For wxTextCtrl editor, set the bold font before margins are set up or it will not work properly

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

14 years agoKeyboard handling was blocked by label editor. Also try to maintain label editor...
Jaakko Salli [Sat, 12 Jun 2010 09:47:25 +0000 (09:47 +0000)] 
Keyboard handling was blocked by label editor. Also try to maintain label editor focus state when navigating between properties.

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

14 years agoAdded wxPropertyGrid::DedicateKey(), which prevents specific key presses from being...
Jaakko Salli [Sat, 12 Jun 2010 09:30:57 +0000 (09:30 +0000)] 
Added wxPropertyGrid::DedicateKey(), which prevents specific key presses from being eaten by editor controls. This is useful for customizing keyboard navigation. Also added utility function wxPGFindInVector<>(), which is used in the new code, and also in some other places.

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

14 years agoAdd wx/msgqueue.h to the list of wxBase headers and rebake.
Vadim Zeitlin [Fri, 11 Jun 2010 20:42:38 +0000 (20:42 +0000)] 
Add wx/msgqueue.h to the list of wxBase headers and rebake.

This header has somehow never been added to build/bakefiles/files.bkl, do add
it now.

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

14 years agoFix typo in an error message in XTI code.
Vadim Zeitlin [Thu, 10 Jun 2010 14:56:46 +0000 (14:56 +0000)] 
Fix typo in an error message in XTI code.

Closes #12139.

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

14 years agoImplemented wxDataViewColumn for wxOSX/Cocoa
Robert Roebling [Thu, 10 Jun 2010 12:43:09 +0000 (12:43 +0000)] 
Implemented wxDataViewColumn for wxOSX/Cocoa

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

14 years agoSuppress warning about double->int conversion
Robert Roebling [Thu, 10 Jun 2010 11:53:32 +0000 (11:53 +0000)] 
Suppress warning about double->int conversion

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

14 years agoMake wxDataViewCtrl::GetColumnPosition() return the index under MSW as per GTK and...
Robert Roebling [Thu, 10 Jun 2010 11:47:18 +0000 (11:47 +0000)] 
Make wxDataViewCtrl::GetColumnPosition() return the index under MSW as per GTK and the docs (fixes #12129), give immediate visual feedback after calling e.g. wxDataViewColumn::SetHidden(true) under MSW, also per GTK+ and as I'd expect. Make GTK+ control emit header click events also for non-reorderable columns. Add a few tests for wxDataViewColumn::SetHidden() and wxDataViewCtrl::GetColumnPosition()

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

14 years agoAdd missing Init() call to one of wxListBox ctors in wxMSW.
Vadim Zeitlin [Thu, 10 Jun 2010 10:40:21 +0000 (10:40 +0000)] 
Add missing Init() call to one of wxListBox ctors in wxMSW.

Overloaded ctor taking wxArrayString didn't call Init() so the wxListBox
fields were not initialized. Fix it by adding the Init() call.

Closes #12138.

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

14 years agowxAny CheckType() member functions are now const
Jaakko Salli [Wed, 9 Jun 2010 20:35:26 +0000 (20:35 +0000)] 
wxAny CheckType() member functions are now const

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

14 years agowxAny CheckType() member functions should be const
Jaakko Salli [Wed, 9 Jun 2010 20:22:08 +0000 (20:22 +0000)] 
wxAny CheckType() member functions should be const

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

14 years agoIncrease interoperability between wxPoint and wxRealPoint introducing constructors...
Francesco Montorsi [Wed, 9 Jun 2010 18:03:27 +0000 (18:03 +0000)] 
Increase interoperability between wxPoint and wxRealPoint introducing constructors which convert between the two classes.

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

14 years agofix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs...
Francesco Montorsi [Wed, 9 Jun 2010 17:58:13 +0000 (17:58 +0000)] 
fix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs and other ports but GDI+ wants degrees.

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

14 years agofix couple of warnings; remove wxUsleep dummy test
Francesco Montorsi [Wed, 9 Jun 2010 17:55:21 +0000 (17:55 +0000)] 
fix couple of warnings; remove wxUsleep dummy test

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

14 years agoImplement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE*...
Francesco Montorsi [Wed, 9 Jun 2010 14:28:08 +0000 (14:28 +0000)] 
Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros.
Implement compatibility aliases for non-prefixed macro names.
Require a final semicolon where possible.

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

14 years agoImplement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros.
Francesco Montorsi [Wed, 9 Jun 2010 13:55:48 +0000 (13:55 +0000)] 
Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros.
Implement compatibility aliases for non-prefixed macro names.
Require a final semicolon where possible.
Correct a recurring error in the docs: IMPLEMENT/DECLARE_CLASS are alias to the DYNAMIC macros, not to the ABSTRACT macros.

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

14 years agoImplement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros.
Francesco Montorsi [Wed, 9 Jun 2010 13:23:13 +0000 (13:23 +0000)] 
Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros.
Implement compatibility aliases for non-prefixed macro names.
Require a final semicolon where possible.

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

14 years agoDon't use -kAddToPopUp() gettext hack with Scintilla.
Vadim Zeitlin [Wed, 9 Jun 2010 11:13:20 +0000 (11:13 +0000)] 
Don't use -kAddToPopUp() gettext hack with Scintilla.

Instead, create a dummy file containing the user-visible strings defined in
Scintilla sources. For now it's manually managed but it might make sense to
automatically generate it in the future.

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

14 years agoInclude locale.h in cmdline.cpp to ensure LC_ALL is defined.
Vadim Zeitlin [Mon, 7 Jun 2010 17:16:50 +0000 (17:16 +0000)] 
Include locale.h in cmdline.cpp to ensure LC_ALL is defined.

This is needed for at least VC++ 6 and is more correct anyhow.

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

14 years agoGetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.
Julian Smart [Mon, 7 Jun 2010 07:39:31 +0000 (07:39 +0000)] 
GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.

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

14 years agorevert previous revision about localization of decimal points in GetHumanReadableSize...
Francesco Montorsi [Sun, 6 Jun 2010 18:52:28 +0000 (18:52 +0000)] 
revert previous revision about localization of decimal points in GetHumanReadableSize() test strings: using CLocaleSetter is a better solution.

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

14 years agoadd to wxRealPoint the same operators already available for wxPoint and wxSize
Francesco Montorsi [Sun, 6 Jun 2010 15:45:12 +0000 (15:45 +0000)] 
add to wxRealPoint the same operators already available for wxPoint and wxSize

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

14 years agofix building without PCH
Francesco Montorsi [Sun, 6 Jun 2010 15:44:32 +0000 (15:44 +0000)] 
fix building without PCH

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

14 years agoMove a couple of wxFileName tests from the console sample to the existing FileNameTes...
Francesco Montorsi [Sun, 6 Jun 2010 15:41:09 +0000 (15:41 +0000)] 
Move a couple of wxFileName tests from the console sample to the existing FileNameTestCase.
Fix FileNameTestCase::TestGetHumanReadable to check the result against expected strings using the correct decimal point for the locale used on the test machine.

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

14 years agoremove some tests from the console sample:
Francesco Montorsi [Sun, 6 Jun 2010 14:21:27 +0000 (14:21 +0000)] 
remove some tests from the console sample:
- wxLog already has a better cppunit test class
- wxLocale test in the console sample didn't work on Windows and wasn't very useful

move some tests from the console sample to CppUnit tests:
- wxPathList => PathListTestCase
- wxModule => ModuleTestCase

remove some tests about removed functions of wxMimeTypesManager

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

14 years agoDon't post process events twice but return correct value from ProcessEvent().
Vadim Zeitlin [Sun, 6 Jun 2010 12:41:51 +0000 (12:41 +0000)] 
Don't post process events twice but return correct value from ProcessEvent().

This is a further complication to the event handling code which aims to handle
correctly the case of wxScrollHelperEvtHandler which doesn't respect the
request to process events only in it but always passes it to the next handler
in the chain itself while still returning the correct value from
ProcessEvent() itself to avoid breaking code that relies on it, like the
background painting code in wxHtmlWindow.

This replaces the change of r64495 and does return true from DoTryChain() in
wxScrollHelperEvtHandler case but sets the "skipped" flag in the event itself
to indicate that it wasn't really processed and ProcessEvent() now checks it
after calling ProcessEventLocally() and returns the correct value
appropriately.

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

14 years agoFix compilation errors in wxGTK wxDataViewCtrl in ANSI mode.
Vadim Zeitlin [Sun, 6 Jun 2010 12:41:43 +0000 (12:41 +0000)] 
Fix compilation errors in wxGTK wxDataViewCtrl in ANSI mode.

wxGTK_CONV() macro can only be used in classes which have m_font member,
otherwise the font needs to be specified explicitly.

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

14 years agoTo make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLE...
Jaakko Salli [Sun, 6 Jun 2010 12:35:03 +0000 (12:35 +0000)] 
To make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLEND instead of SLIDE_TO_BOTTOM, and add a text '(custom animaton)'

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

14 years agoget rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes...
Francesco Montorsi [Sun, 6 Jun 2010 11:37:10 +0000 (11:37 +0000)] 
get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs.

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

14 years agodocument wxTransparentColour global instance
Francesco Montorsi [Sun, 6 Jun 2010 11:35:11 +0000 (11:35 +0000)] 
document wxTransparentColour global instance

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

14 years agomore readable argument names for wxDC::DrawArc
Francesco Montorsi [Sun, 6 Jun 2010 11:34:33 +0000 (11:34 +0000)] 
more readable argument names for wxDC::DrawArc

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

14 years agoIn wxComboCtrlBase::DoShowPopup(), if the popup window is a generic TLW or a 'perfect...
Jaakko Salli [Sun, 6 Jun 2010 09:35:06 +0000 (09:35 +0000)] 
In wxComboCtrlBase::DoShowPopup(), if the popup window is a generic TLW or a 'perfect' wxPopupWindow, then try to set focus to the popup control at the end of show

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

14 years agoUse ShowWithEffect() in the sample wxComboCtrlWithCustomPopupAnim instead of manual...
Jaakko Salli [Sun, 6 Jun 2010 09:15:20 +0000 (09:15 +0000)] 
Use ShowWithEffect() in the sample wxComboCtrlWithCustomPopupAnim instead of manual window manipulation in timer event

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

14 years agoDon't send selection events for an already selected item in wxMSW wxListBox.
Vadim Zeitlin [Sat, 5 Jun 2010 22:58:13 +0000 (22:58 +0000)] 
Don't send selection events for an already selected item in wxMSW wxListBox.

Remember the last item for which a listbox notification event had been sent
and don't send it again if the user clicks on an already selected item. This
is consistent with wxGTK behaviour and generally makes more sense: why should
we send an event if the selection didn't really change?

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

14 years agoDon't send listbox selection events when mouse wasn't clicked on an item.
Vadim Zeitlin [Sat, 5 Jun 2010 22:58:09 +0000 (22:58 +0000)] 
Don't send listbox selection events when mouse wasn't clicked on an item.

Windows sends events even if the mouse is clicked in the area below the items,
filter them out by checking the item under the mouse ourselves.

Also use synchronous GetMessagePos() function to get the mouse position
instead of the asynchronous GetCursorPos() which was wrongly used by the old
code.

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

14 years agoUse mouse position to find the item for selection events in wxMSW listbox.
Vadim Zeitlin [Sat, 5 Jun 2010 22:58:05 +0000 (22:58 +0000)] 
Use mouse position to find the item for selection events in wxMSW listbox.

Using LB_GETCARETINDEX doesn't work when the mouse is used to make selection
because it always returns the index of the last item, even if the mouse is
clicked below it, on an area without any listbox items. So use the mouse
position to find the item in this case but still use LB_GETCARETINDEX to find
the item when the keyboard is used.

This required adding a flag to wxListBox storing the kind of the last input
message that it received as there doesn't seem to be any way to determine how
the message was generated otherwise.

This code will be refactored/improved further in the next two commits.

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

14 years agoNo changes, just refactor wxListBox initialization in wxMSW.
Vadim Zeitlin [Sat, 5 Jun 2010 22:57:59 +0000 (22:57 +0000)] 
No changes, just refactor wxListBox initialization in wxMSW.

Extract member fields initialization in Init() method instead of duplicating
it in default ctor and Create().

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

14 years agoRefactor listbox event sending code to avoid duplication.
Vadim Zeitlin [Sat, 5 Jun 2010 22:57:53 +0000 (22:57 +0000)] 
Refactor listbox event sending code to avoid duplication.

wxMSW wxListBox implementation contained the same code as the private
LBSendEvent() function in lboxcmn.cpp, so make this function a (protected)
member of wxListBoxBase and reuse it instead.

Also change its and CalcAndSendEvent() return type to bool to be able to
return whether the event was processed or not.

As the result of this refactoring, the "is selected" flag is now set correctly
for the selection events under MSW (it was always off before).

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

14 years agoDon't return true from DoTryChain() if the event wasn't really processed.
Vadim Zeitlin [Sat, 5 Jun 2010 22:57:48 +0000 (22:57 +0000)] 
Don't return true from DoTryChain() if the event wasn't really processed.

Correct the return value when an event handler didn't honour "process only in
this handler" flag: we shouldn't pass the event to the further handlers in
this case but we shouldn't return true neither as the event wasn't really
processed.

This corrects background painting of wxHtmlWindow broken by previous changes.

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

14 years agom_id was already set, don't set it to the passed in value again as then we lose the...
Robin Dunn [Sat, 5 Jun 2010 01:23:18 +0000 (01:23 +0000)] 
m_id was already set, don't set it to the passed in value again as then we lose the value which may have been calculated for wxID_ANY.

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

14 years agoCorrect EVT_LIST_BEGIN_LABEL_EDIT macro name in the documentation.
Vadim Zeitlin [Fri, 4 Jun 2010 22:04:23 +0000 (22:04 +0000)] 
Correct EVT_LIST_BEGIN_LABEL_EDIT macro name in the documentation.

The "LIST" part was missing.

Closes #12124.

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

14 years agono real change: just rename "near" into "onNearPart" (MSVC doesn't like 'near' as...
Francesco Montorsi [Thu, 3 Jun 2010 21:14:34 +0000 (21:14 +0000)] 
no real change: just rename "near" into "onNearPart" (MSVC doesn't like 'near' as variable name)

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

14 years agoGreatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation...
Jaakko Salli [Thu, 3 Jun 2010 15:16:25 +0000 (15:16 +0000)] 
Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (fixes #12087)

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

14 years agoDrop the column being dragged at the correct position in wxGrid.
Vadim Zeitlin [Thu, 3 Jun 2010 10:35:53 +0000 (10:35 +0000)] 
Drop the column being dragged at the correct position in wxGrid.

The column was being always dropped after the column at drop position but this
was incorrect and didn't correspond to the visual feedback drawn by
wxHeaderCtrl: if the drop position is over the "near" part of the column, the
column should be dropped before it instead.

Do the check for this in wxGrid code too now.

Closes #12120.

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

14 years agoTest for wxPen validity before testing for its style in wxGTK wxDC.
Vadim Zeitlin [Thu, 3 Jun 2010 10:35:49 +0000 (10:35 +0000)] 
Test for wxPen validity before testing for its style in wxGTK wxDC.

Calling wxPen::GetStyle() on an invalid pen resulted in an assert, breaking
the grid column drawing while reordering them, for example, because the code
in wxGrid uses wxDC::DrawRectangle() after calling SetPen(wxNullPen).

Fix this by testing for the pen validity first.

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

14 years agoAssert if an invalid column index is specified when inserting wxListCtrl item.
Vadim Zeitlin [Thu, 3 Jun 2010 10:35:41 +0000 (10:35 +0000)] 
Assert if an invalid column index is specified when inserting wxListCtrl item.

This also catches the case of inserting an item in a report mode wxListCtrl
without adding any columns to it first. Previously this did result in an
assert but with a less clear error message and, most importantly, still a
crash afterwards. Assert only now, don't crash.

The message could still be improved but hopefully people will be able to
understand that inserting items when no columns are defined is not the right
thing to do.

Closes #12119.

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

14 years agofix StringTestCase::FromDouble: newer MSVC versions use three digits for the exponent...
Francesco Montorsi [Wed, 2 Jun 2010 14:56:58 +0000 (14:56 +0000)] 
fix StringTestCase::FromDouble: newer MSVC versions use three digits for the exponent width

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

14 years agoremove wxFileConfig tests: FileConfigTestCase already tests features tested by consol...
Francesco Montorsi [Wed, 2 Jun 2010 14:51:45 +0000 (14:51 +0000)] 
remove wxFileConfig tests: FileConfigTestCase already tests features tested by console sample and is much more complete.

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

14 years agoMove some wxPrintf() tests (taken from glibc) to VsnprintfTestCase. Other tests are...
Francesco Montorsi [Wed, 2 Jun 2010 14:42:26 +0000 (14:42 +0000)] 
Move some wxPrintf() tests (taken from glibc) to VsnprintfTestCase. Other tests are more difficult to convert in CppUnit style and not worth the effort (since now we don't use wx's own vsnprintf implementation anymore typically).

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

14 years agoMove wxRegConfig tests from console sample to a new wxRegConfigTestCase class.
Francesco Montorsi [Wed, 2 Jun 2010 14:12:07 +0000 (14:12 +0000)] 
Move wxRegConfig tests from console sample to a new wxRegConfigTestCase class.
Remove wxRegKey tests from console sample: on newer Windows they only work when run with admin privileges; also we can expect wx[Reg]ConfigTestCase to already check a good number of wxRegKey features.

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

14 years agoMake wxConfig ctor docs more readable.
Francesco Montorsi [Wed, 2 Jun 2010 13:53:12 +0000 (13:53 +0000)] 
Make wxConfig ctor docs more readable.
Add a simple stub for wxRegConfig class so that Doxygen highlights it just like it does with wxFileConfig.

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

14 years agoFix recently broken forwarding of events between event handlers.
Vadim Zeitlin [Wed, 2 Jun 2010 11:58:31 +0000 (11:58 +0000)] 
Fix recently broken forwarding of events between event handlers.

After the recent changes to the event processing logic, forwarding an event
from one event handler to another one stopped working correctly because the
per-event "process here only" flag prevented it from following the event
handler chain after forwarding. This notably broke keyboard navigation in
wxComboCtrl under MSW in wx itself and probably quite a few of other things in
user code.

Fix this by replacing the boolean flag with a pointer to the handler to which
the processing of this event should be restricted. This allows the full
processing to still take place if an event is forwarded to another handler.
So wxEvent::ShouldProcessHereOnly() is now called ShouldProcessOnlyIn() and
takes a wxEvtHandler parameter.

This made appear a problem in wxScrollHelperEvtHandler code that was hidden by
the bug above: the events were still processed multiple times in it. To fix
this, also add wxEvent::DidntHonourProcessOnlyIn() and take it into account in
the base class code. Did I mention that wxScrollHelperEvtHandler must die?

Add another unit test checking that forwarding works correctly.

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

14 years agoFix drawing of scaled bitmaps in wxCairoContext.
Vadim Zeitlin [Wed, 2 Jun 2010 11:58:25 +0000 (11:58 +0000)] 
Fix drawing of scaled bitmaps in wxCairoContext.

We must offset the coordinate system before scaling it, otherwise incorrect
offset is used.

Add a test for drawing translated/scaled bitmaps to the drawing sample.

See #11097.

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

14 years agoDon't hard code position of the drawing sample window and increase its size.
Vadim Zeitlin [Wed, 2 Jun 2010 11:58:21 +0000 (11:58 +0000)] 
Don't hard code position of the drawing sample window and increase its size.

Hardcoding position to 50,50 is inconvenient, let the window manager position
the window as configured by user. Also, the vertical size of the sample was
too small to see the contents of most pages, increase it.

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

14 years agoRemove unused GetTextExtent() call from wxProgressDialog.
Vadim Zeitlin [Wed, 2 Jun 2010 11:58:16 +0000 (11:58 +0000)] 
Remove unused GetTextExtent() call from wxProgressDialog.

This seems to be a left-over from the old, manual positioning code. As we use
sizers now, it's not needed any more.

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

14 years agodisable FTPTestCase by default.
Francesco Montorsi [Wed, 2 Jun 2010 10:49:44 +0000 (10:49 +0000)] 
disable FTPTestCase by default.
Add a warning for the user when running --list without arguments: not all tests are listed, only those enabled by default (e.g. FTPTestCase doesn't appear there)!

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

14 years agoInterpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle() (fixes #12114)
Jaakko Salli [Tue, 1 Jun 2010 15:31:05 +0000 (15:31 +0000)] 
Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle() (fixes #12114)

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

14 years agoIn wxComboPopupEvtHandler::OnMouseEvent(), when need to relay event to drop-down...
Jaakko Salli [Tue, 1 Jun 2010 15:01:59 +0000 (15:01 +0000)] 
In wxComboPopupEvtHandler::OnMouseEvent(), when need to relay event to drop-down button, call HandleButtonMouseEvent() directly, if possible. This is less confusing for the platform-specific wxComboCtrl implementations, and fixes issue where the drop-down button could remain in pressed state after the mouse button was lifted.

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

14 years agoFor clarity: wxComboPopupExtraEventHandler -> wxComboPopupEvtHandler (there is nothin...
Jaakko Salli [Tue, 1 Jun 2010 14:17:32 +0000 (14:17 +0000)] 
For clarity: wxComboPopupExtraEventHandler -> wxComboPopupEvtHandler (there is nothing particularly extra about it)

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

14 years agoRefactored wxComboPopupExtraEventHandler::OnMouseEvent(). Now block mouse events...
Jaakko Salli [Tue, 1 Jun 2010 13:46:14 +0000 (13:46 +0000)] 
Refactored wxComboPopupExtraEventHandler::OnMouseEvent(). Now block mouse events from the popup control until mouse button has been seen in 'up' state (ignoring first mouse up). This matches Windows native combo box behavior (fixes #12115).

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

14 years agoUpdate AUI floating windows position and not just size on resize.
Vadim Zeitlin [Mon, 31 May 2010 14:59:18 +0000 (14:59 +0000)] 
Update AUI floating windows position and not just size on resize.

When a window is resized, its position can change as well as its size but it
wasn't updated before. Do it now.

Closes #11421.

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

14 years agoRegenerate wxstd.pot with the recently added translatable strings.
Vadim Zeitlin [Mon, 31 May 2010 14:59:13 +0000 (14:59 +0000)] 
Regenerate wxstd.pot with the recently added translatable strings.

Simply reran "make wxstd.pot" in locale subdirectory.

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

14 years agoDon't disable wxID_PRINT_SETUP even when there is no active document.
Vadim Zeitlin [Mon, 31 May 2010 14:59:08 +0000 (14:59 +0000)] 
Don't disable wxID_PRINT_SETUP even when there is no active document.

Printer can be setup without active document, remove the EVT_UPDATE_UI handler
for wxID_PRINT_SETUP.

See #11394.

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

14 years agoTranslate strings used in doc-view printing code.
Vadim Zeitlin [Mon, 31 May 2010 14:59:03 +0000 (14:59 +0000)] 
Translate strings used in doc-view printing code.

Simply use _() instead of wxT() for the user-visible strings.

Closes #12110.

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