]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoFix destruction of wxDataViewCtrl's editor control.
Václav Slavík [Mon, 30 Apr 2012 14:51:52 +0000 (14:51 +0000)] 
Fix destruction of wxDataViewCtrl's editor control.

Don't pop event handler from the control more than once.

See r70002 and r70005 (which this reverts) for reference.

Fixes #14215.

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

12 years agowxDataViewCtrl: always update the header when col best width changes.
Václav Slavík [Mon, 30 Apr 2012 09:33:30 +0000 (09:33 +0000)] 
wxDataViewCtrl: always update the header when col best width changes.

Have an explicit per-column dirty flag and use that to determine whether
we need to call wxHeaderCtrl::UpdateColumn(). Previously, the lack of
computed best width was used as an indicator, but this didn't work
correctly if some code called GetWidth() after invalidation but before
wxDataViewCtrl::UpdateColWidths() was called at idle time. This resulted
in header's column widths getting out of sync with the control itself.

Fixes #14167.

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

12 years agoInvalidate wxDataViewCtrl bests widths on expand/collapse.
Václav Slavík [Mon, 30 Apr 2012 09:33:25 +0000 (09:33 +0000)] 
Invalidate wxDataViewCtrl bests widths on expand/collapse.

The best column widths are computed from "realized" items that are
available as rows in wxDataViewCtrl. This information changes when a
previously collapsed node is expanded and new items become available for
column width calculation.

Fixes #14167.

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

12 years agoRespect minimal width in wxDataViewCtrl::GetBestColumnWidth().
Václav Slavík [Mon, 30 Apr 2012 09:33:21 +0000 (09:33 +0000)] 
Respect minimal width in wxDataViewCtrl::GetBestColumnWidth().

See #14167.

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

12 years agoWork around the problem with not exiting event loop under MSW.
Vadim Zeitlin [Sun, 29 Apr 2012 23:48:20 +0000 (23:48 +0000)] 
Work around the problem with not exiting event loop under MSW.

Changes of r71304 broke the event loop termination under MSW, limit them to
only the case in which they were really needed, i.e. when loop is really
exited by a pending event handler.

This is only a temporary solution, we need something better in longer term.

See #14250.

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

12 years agoNo changes, just refactor common IsSorted() tests in wxGTK wxDataViewCtrl.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:34 +0000 (23:22 +0000)] 
No changes, just refactor common IsSorted() tests in wxGTK wxDataViewCtrl.

Add wxDataViewCtrlInternal::ShouldBeSorted() helper instead of testing for
both IsSorted() and wxDataViewModel::HasDefaultCompare() in several places.

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

12 years agoNo real changes, just make wxDataViewCtrlInternal::IsSorted() const.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:32 +0000 (23:22 +0000)] 
No real changes, just make wxDataViewCtrlInternal::IsSorted() const.

This is a simple accessor, should have been const since the beginning.

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

12 years agoUse PCH in the tests in all Windows ports and not only when using wxMSW.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:28 +0000 (23:22 +0000)] 
Use PCH in the tests in all Windows ports and not only when using wxMSW.

This change doesn't actually change anything for the "normal" ports as it only
affects wxGTK/MSW which is not officially supported yet, so the make/project
files are unchanged by it.

Closes #14249.

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

12 years agoAdded wxDataViewEvent::SetDragFlags() and GetDropEffect() methods.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:25 +0000 (23:22 +0000)] 
Added wxDataViewEvent::SetDragFlags() and GetDropEffect() methods.

Allow specifying the drag operation flags and retrieving the drop effect when
it's over for wxDataViewCtrl drag-and-drop.

Currently this is only implemented in the generic version.

Closes #12583.

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

12 years agoSet the data size in wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE in wxGTK.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:21 +0000 (23:22 +0000)] 
Set the data size in wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE in wxGTK.

Allow wxEVT_COMMAND_DATAVIEW_ITEM_DROP_POSSIBLE handler to examine the data
being dragged by setting not only the pointer to it but also its size, as
otherwise it's impossible to do anything with it.

See #12583.

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

12 years agoExplicitly document wxDrag_XXX flags.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:18 +0000 (23:22 +0000)] 
Explicitly document wxDrag_XXX flags.

They were mentioned in DoDragDrop() documentation but not documented on their
own. Do it now to be able to refer to them from elsewhere.

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

12 years agoRemove internal only methods from wxDataViewEvent documentation.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:16 +0000 (23:22 +0000)] 
Remove internal only methods from wxDataViewEvent documentation.

SetDataXXX() methods are only meant to be used by wxDataViewCtrl itself, so
don't document them as part of public API. Their documentation was pretty
useless anyhow as it didn't say anything not already contained in the method
name.

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

12 years agoRestore 2.8 stock labels for wxID_PREVIEW inadvertently changed in 2.9.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:13 +0000 (23:22 +0000)] 
Restore 2.8 stock labels for wxID_PREVIEW inadvertently changed in 2.9.

The wxID_PREVIEW labels were accidentally removed in r68641 and added back
with a wrong/different label later. Restore the same one (or almost, just add
an ellipsis at the end) that was used in 2.8.

Closes #13906.

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

12 years agoAdd a hack to prevent the test suite from aborting after Grid test case.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:10 +0000 (23:22 +0000)] 
Add a hack to prevent the test suite from aborting after Grid test case.

There is a problem with the native header control still having the mouse
capture when the grid is destroyed in wxGTK and this resulted in asserts when
destroying the grid, nested asserts due to an exception being thrown from a
dtor and finally abort that prevented the rest of the tests from running.

As I failed to find the real reason for this problem, just forcefully ensure
that we don't have the mouse capture when destroying the grid. This at least
allows the complete test suite to run.

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

12 years agoImprove error reporting for nested asserts failures in the test suite.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:08 +0000 (23:22 +0000)] 
Improve error reporting for nested asserts failures in the test suite.

If an assert occurred while handling an exception generated by a previous
assert handler, the information about the original assert was lost even if
though it was more important than the secondary assert. Do preserve and show
the original assert message in this case now.

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

12 years agoWork around wxDateTime::ParseFormat() problem in generic wxDateTimePickerCtrl.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:05 +0000 (23:22 +0000)] 
Work around wxDateTime::ParseFormat() problem in generic wxDateTimePickerCtrl.

Due to a bug in wxDateTime::ParseFormat(), calling it with wxString::c_str()
currently just crashes, so don't do this in generic wxDateTimePickerCtrl code.
The real fix is, of course, to correct the bug in wxDateTime itself but for
now this at least prevents the crash when executing the test suite. And using
c_str() here is unnecessary anyhow.

See #14214.

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

12 years agoPreserve wxComboBox selection when modifying the selected item in wxGTK too.
Vadim Zeitlin [Sun, 29 Apr 2012 23:22:01 +0000 (23:22 +0000)] 
Preserve wxComboBox selection when modifying the selected item in wxGTK too.

This does the same thing as r70018 did for wxMSW but for wxGTK, i.e. it keeps
the combo box item selected when its text is modified.

This fixes [Bitmap]ComboBox unit tests under wxGTK.

See #13769.

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

12 years agoEnable wxComboBox::SetString() test in the widgets sample.
Vadim Zeitlin [Sun, 29 Apr 2012 23:21:57 +0000 (23:21 +0000)] 
Enable wxComboBox::SetString() test in the widgets sample.

It was disabled because it wasn't implemented for wxGTK at some time in the
past -- but it is implemented now, so there is no reason to not allow testing
it.

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

12 years agoDon't use ancient -no-cpp-precomp flag on OS X.
Václav Slavík [Sun, 29 Apr 2012 09:36:44 +0000 (09:36 +0000)] 
Don't use ancient -no-cpp-precomp flag on OS X.

See http://trac.wxwidgets.org/ticket/14029 for a discussion of the
problems it causes when using non-Apple compiler. Even for Apple's GCC,
it does nothing these days and we no longer support OS X 10.3, so
there's no point in continuing to use it.

Fixes #14029.

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

12 years agoMake wxGTK code returning correct focus in popup menu presence more robust.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:26 +0000 (22:25 +0000)] 
Make wxGTK code returning correct focus in popup menu presence more robust.

Replace the changes of r69938 with an alternative and simpler solution:
instead of playing games with gs_pendingFocus, which could break down if its
old value became invalid while the menu was shown as happened if one of the
menu commands resulted in this window being destroyed, just take the currently
shown popup menu into account in DoFindFocus() itself.

This should be safer as there is no danger of any dangling pointers here and
is also simpler and more obviously correct.

Closes #14103.

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

12 years agoAdd missing "flags" argument to wxNotificationMessage ctor in wxMSW.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:23 +0000 (22:25 +0000)] 
Add missing "flags" argument to wxNotificationMessage ctor in wxMSW.

It was impossible to specify the flags when creating wxNotificationMessage in
wxMSW, cotrary to the other ports and the documentation.

Fix this by adding the missing argument to the ctor and simply passing it to
the base class one, we don't have to do anything else as the existing code
already calls GetFlags() later so it should respect these flags without any
more changes.

Closes #14245.

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

12 years agoFix crash in wxFileConfig when deleting last entry of the root group.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:19 +0000 (22:25 +0000)] 
Fix crash in wxFileConfig when deleting last entry of the root group.

This resulted in keeping a dangling pointer to the group line in
wxFileConfigGroup and any attempt to use it after this resulted in a crash.
Fix this by explicitly resetting the last line in this case.

Also add a unit test for this scenario.

Closes #14243.

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

12 years agoMake it possible to forward declare wx{Choice,Tool,Tree}bookEvent again.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:15 +0000 (22:25 +0000)] 
Make it possible to forward declare wx{Choice,Tool,Tree}bookEvent again.

Don't use typedef for these classes as it makes it impossible to
forward-declare them, just use #define instead as we already do for
wxListbookEvent and wxNotebookEvent. This allows forward declaration and is
also more consistent.

Closes #12242.

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

12 years agoUse generic wxAboutBox() in wxUniv/GTK.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:07 +0000 (22:25 +0000)] 
Use generic wxAboutBox() in wxUniv/GTK.

The native GTK implementation is not used in wxUniv/GTK, so don't exclude the
generic one as well.

Notice that the same should be done for wxMSW and wxOSX too but we currently
seem to use the native version even in wxUniv there. It would be better to
consistently use the generic version in all wxUniv ports.

Closes #14236.

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

12 years agoDon't change wxTextEntry value if it didn't really change.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:03 +0000 (22:25 +0000)] 
Don't change wxTextEntry value if it didn't really change.

This is not only unnecessary but also can result in a kind of infinite loop
when wxTextEntry::SetValue() is called from wxEVT_IDLE handler as really
modifying the text results in another wxEVT_IDLE being generated and another
call to SetValue() and so on while not doing it in the first place completely
works around the problem and is also more efficient.

Closes #13936.

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

12 years agoRun some wxTextCtrl unit test cases for single and multi-line controls.
Vadim Zeitlin [Sat, 28 Apr 2012 22:25:01 +0000 (22:25 +0000)] 
Run some wxTextCtrl unit test cases for single and multi-line controls.

Some of the tests that were previously ran for single or multi-line controls
only actually apply to both of them, so run them for both kinds of control to
test that both of them work correctly.

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

12 years agoNo changes, just refactor wxTextCtrl unit test case.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:59 +0000 (22:24 +0000)] 
No changes, just refactor wxTextCtrl unit test case.

Allow running the same tests for both single and multi-line controls easily.
No real changes yet though, the tests are still ran for the controls with the
same styles as before for now.

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

12 years agoRecognize wxDefaultDateTime in gdb wxDateTime pretty-printer.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:57 +0000 (22:24 +0000)] 
Recognize wxDefaultDateTime in gdb wxDateTime pretty-printer.

Trying to print an uninitialized/invalid wxDateTime in gdb resulted in an
error (Python exception from datetime module), recognize it specially now.

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

12 years agoDon't block in wxEventLoopManual::Dispatch() if loop was exited.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:54 +0000 (22:24 +0000)] 
Don't block in wxEventLoopManual::Dispatch() if loop was exited.

If Exit() was called from a handler for one of the pending events we could
reenter Dispatch() and block there indefinitely if no other events were coming
and this was exactly what happened in wxFileSystemWatcher unit test,
preventing it from ever running to completion under Unix.

Fix this by checking m_shouldExit after executing the pending handlers and
before calling Dispatch().

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

12 years agoAdd a gdb pretty-printer for wxFileName objects.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:52 +0000 (22:24 +0000)] 
Add a gdb pretty-printer for wxFileName objects.

This pretty-printer works by calling the C++ wxFileName::GetFullPath()
directly instead of interpreting the object data from gdb because this is much
simpler to do, so it can only be used when debugging live programs. If this is
a serious restriction, it would need to be changed to use gdb data access only
later.

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

12 years agoFix harmless warnings about hiding base class virtual in dialogs sample.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:50 +0000 (22:24 +0000)] 
Fix harmless warnings about hiding base class virtual in dialogs sample.

GetTitle() added in r71213 resulted in virtual function warnings from g++, fix
them by renaming it to GetBoxTitle().

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

12 years agoDon't use too big width for wxHtmlHelpWindow navigation panel.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:47 +0000 (22:24 +0000)] 
Don't use too big width for wxHtmlHelpWindow navigation panel.

The width of the navigation panel in wxHtmlHelpWindow could become arbitrarily
high if long items used. Avoid this by using a reasonably large but not too
big minimal width instead of determining it automatically from the items width.

Closes #13754.

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

12 years agoFix erasing wxHtmlWindow background in wxUniv.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:43 +0000 (22:24 +0000)] 
Fix erasing wxHtmlWindow background in wxUniv.

Prevent the default wxWindow-level wxEVT_ERASE_BACKGROUND handler from being
used in wxUniv for wxHtmlWindow. This is unnecessary as it has its own handler
anyhow and also doesn't work for some reason as erasing wxMemoryDC by drawing
a solid rectangle over it seems to be broken in at least wxX11.

Work around this problem by erasing the background in wxHtmlWindow itself if
no user-defined (as opposed to any, including one defined in wxWindow itself)
handler for this event exists.

Closes #13880.

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

12 years agoHandle kCGImageAlphaNoneSkipFirst correctly in wxOSX wxBitmap code.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:40 +0000 (22:24 +0000)] 
Handle kCGImageAlphaNoneSkipFirst correctly in wxOSX wxBitmap code.

The code tested twice for kCGImageAlphaNoneSkipLast which was clearly wrong.
The original intention was probably to check for both it and
kCGImageAlphaNoneSkipFirst, so fix it to this now.

Closes #14019.

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

12 years agoFix wxBitmapButton best size calculation in wxOSX/Carbon.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:36 +0000 (22:24 +0000)] 
Fix wxBitmapButton best size calculation in wxOSX/Carbon.

wxAnyButton refactoring broke the best size computation for Carbon, fix it to
work as it did before.

Closes #13830.

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

12 years agoDocument the change in wxEVT_SIZE generation for wxDialogs in wxMSW.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:34 +0000 (22:24 +0000)] 
Document the change in wxEVT_SIZE generation for wxDialogs in wxMSW.

These events are now generated earlier and can result in crashes if the
controls they use are not initialized yet.

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

12 years agoDocument that wxDCClipper currently resets clipping region.
Vadim Zeitlin [Sat, 28 Apr 2012 22:24:31 +0000 (22:24 +0000)] 
Document that wxDCClipper currently resets clipping region.

Unlike other similar classes, this one doesn't restore the previous clipping
region but just resets it because there is no way to get the current clipping
region from wxDC now. At least document this limitation until it can be fixed.

See #13834.

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

12 years agoAdded note about WXWIN_COMPATIBILITY_2_6 being off in 2.9 by default.
Vadim Zeitlin [Fri, 27 Apr 2012 22:35:08 +0000 (22:35 +0000)] 
Added note about WXWIN_COMPATIBILITY_2_6 being off in 2.9 by default.

Also list some concrete symbols which are not available any more and their
replacements.

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

12 years agoRestored the exact-fit-button horizontal margin calculation from 2.8 since it was...
Julian Smart [Fri, 27 Apr 2012 11:39:52 +0000 (11:39 +0000)] 
Restored the exact-fit-button horizontal margin calculation from 2.8 since it was too cramped.

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

12 years agoTypo fix, and add some missing methods.
Robin Dunn [Thu, 26 Apr 2012 01:29:00 +0000 (01:29 +0000)] 
Typo fix, and add some missing methods.

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

12 years agoFixed floating image layout when typing in subsequent paragraph
Julian Smart [Wed, 25 Apr 2012 11:42:31 +0000 (11:42 +0000)] 
Fixed floating image layout when typing in subsequent paragraph
Now makes use of max size for images and keeps the image size reasonable
Added original image size so can usually avoid reloading image when recomputing
cached bitmap size
Takes into account bottom of the last floating image so scrollbars are
set correctly
Original image size is shown in disabled size controls

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

12 years agoAdded custom properties to style definitions and style sheets
Julian Smart [Tue, 24 Apr 2012 11:22:18 +0000 (11:22 +0000)] 
Added custom properties to style definitions and style sheets

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

12 years agoRemove code to find topmost X window in SetTransparent().
Paul Cornett [Tue, 24 Apr 2012 05:38:12 +0000 (05:38 +0000)] 
Remove code to find topmost X window in SetTransparent().
The purpose of this code is unknown, but it may be intended to make WM
decorations transparent. But it causes a crash when docking an AUI panel.
And in my testing the decorations are transparent even without this code.
Fixes #4841

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

12 years agoAdded flags to SetStyle with specific object
Julian Smart [Mon, 23 Apr 2012 16:54:52 +0000 (16:54 +0000)] 
Added flags to SetStyle with specific object

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

12 years agoFix missing and broken interface items for Phoenix
Robin Dunn [Sat, 21 Apr 2012 00:07:31 +0000 (00:07 +0000)] 
Fix missing and broken interface items for Phoenix

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

12 years agodefer queue-resize until after size-allocate processing, to keep it from being ignore...
Paul Cornett [Fri, 20 Apr 2012 16:05:13 +0000 (16:05 +0000)] 
defer queue-resize until after size-allocate processing, to keep it from being ignored by GTK3

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

12 years agosilence warning about wxOSX_USE_COCOA not being defined
Paul Cornett [Fri, 20 Apr 2012 15:34:24 +0000 (15:34 +0000)] 
silence warning about wxOSX_USE_COCOA not being defined

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

12 years agoMake wxTaskBarIcon's ctor have the same API on all platforms even though setting...
Robin Dunn [Fri, 20 Apr 2012 05:41:54 +0000 (05:41 +0000)] 
Make wxTaskBarIcon's ctor have the same API on all platforms even though setting the icon type can only be done on wxOSX-cocoa

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

12 years agoDocument SetDoubleBuffered
Robin Dunn [Fri, 20 Apr 2012 05:41:39 +0000 (05:41 +0000)] 
Document SetDoubleBuffered

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

12 years agomove widget resize handling from DoSetSize to DoMoveWindow
Paul Cornett [Thu, 19 Apr 2012 17:15:40 +0000 (17:15 +0000)] 
move widget resize handling from DoSetSize to DoMoveWindow

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

12 years agosimplify default border code in DoSetSize
Paul Cornett [Thu, 19 Apr 2012 16:51:06 +0000 (16:51 +0000)] 
simplify default border code in DoSetSize

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

12 years agorearrange some code in DoSetSize to facilitate upcoming changes
Paul Cornett [Thu, 19 Apr 2012 16:44:59 +0000 (16:44 +0000)] 
rearrange some code in DoSetSize to facilitate upcoming changes

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

12 years agoFix for wxUniv/GTK compilation.
Vadim Zeitlin [Thu, 19 Apr 2012 16:14:18 +0000 (16:14 +0000)] 
Fix for wxUniv/GTK compilation.

wxWindowBase needs to be explicitly cast to wxWindow in wxUniv/GTK build but
this wasn't done in the changes of r70597.

Cloes #14235.

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

12 years agoCorrect wxPaintDC base class in the documentation.
Vadim Zeitlin [Thu, 19 Apr 2012 16:14:16 +0000 (16:14 +0000)] 
Correct wxPaintDC base class in the documentation.

wxPaintDC derives from wxClientDC, not wxWindowDC.

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

12 years agoAdjust x,y parameters by pizza scroll offset in DoSetSize
Paul Cornett [Wed, 18 Apr 2012 16:30:11 +0000 (16:30 +0000)] 
Adjust x,y parameters by pizza scroll offset in DoSetSize
This should cause no change in behavior, and is merely preparation for further changes

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

12 years agoDon't set focus to hidden window in wxSetFocusToChild().
Vadim Zeitlin [Wed, 18 Apr 2012 09:23:05 +0000 (09:23 +0000)] 
Don't set focus to hidden window in wxSetFocusToChild().

The window that had focus previously could be hidden now, but its parent could
be hidden as well so it's not enough to set focus to it but we need to loop
until we find a visible ancestor.

Closes #14230.

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

12 years agoFix missing and broken interface items for Phoenix
Robin Dunn [Tue, 17 Apr 2012 17:00:36 +0000 (17:00 +0000)] 
Fix missing and broken interface items for Phoenix

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

12 years agoavoiding potential mismatch between true and expected state of wxGraphicsContext...
Stefan Csomor [Tue, 17 Apr 2012 16:57:12 +0000 (16:57 +0000)] 
avoiding potential mismatch between true and expected state of wxGraphicsContext because it might have been changed through its direct API meanwhile, fixes #14226

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

12 years agoAdd possibility to change the test message box title in dialog sample.
Vadim Zeitlin [Tue, 17 Apr 2012 13:57:18 +0000 (13:57 +0000)] 
Add possibility to change the test message box title in dialog sample.

All the other message box elements were configurable, so why not this one.

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

12 years agobuilding on 10.5
Stefan Csomor [Tue, 17 Apr 2012 06:13:16 +0000 (06:13 +0000)] 
building on 10.5

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

12 years agoremove AdjustForParentClientOrigin call, it does nothing in wxGTK
Paul Cornett [Mon, 16 Apr 2012 15:45:52 +0000 (15:45 +0000)] 
remove AdjustForParentClientOrigin call, it does nothing in wxGTK

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

12 years agoReset hover item when mouse leaves wxAuiToolBar.
Vadim Zeitlin [Mon, 16 Apr 2012 14:33:35 +0000 (14:33 +0000)] 
Reset hover item when mouse leaves wxAuiToolBar.

The hover item was not reset properly in some circumstances, do it now.

Also check for the item being disabled in SetHoverItem() itself instead of
doing it several times before calling it.

Closes #14189.

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

12 years agoFix wxCairoContext creation from wxWindow under MSW.
Vadim Zeitlin [Mon, 16 Apr 2012 14:30:02 +0000 (14:30 +0000)] 
Fix wxCairoContext creation from wxWindow under MSW.

cairo_win32_surface_create() must be passed the window HDC and not HWND
itself, the old code calling it was broken.

Add WindowHDC object and pass its HDC to this function now to make it work.

Closes #14194.

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

12 years agoAdd default ctor to wxMSW private WindowHDC helper class.
Vadim Zeitlin [Mon, 16 Apr 2012 14:29:59 +0000 (14:29 +0000)] 
Add default ctor to wxMSW private WindowHDC helper class.

Allow to use objects of this class without any valid HWND, this is useful for
the derived classes which may, or may not, need the corresponding HDC.

See #14194.

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

12 years agoFix type mismatch in wxLogTrace() call in wxSocket.
Vadim Zeitlin [Mon, 16 Apr 2012 14:19:13 +0000 (14:19 +0000)] 
Fix type mismatch in wxLogTrace() call in wxSocket.

Cast socket handle to a 32 bit value as we use it with "%d" (or "%u" now as it
makes more sense) format specifier to avoid problems with type mismatches
under Win64.

Closes #14204.

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

12 years agoAdd wxFSInputStream providing stream interface to wxFileSystem.
Vadim Zeitlin [Mon, 16 Apr 2012 13:53:49 +0000 (13:53 +0000)] 
Add wxFSInputStream providing stream interface to wxFileSystem.

This class allows using virtual wxFSFiles with any wx functions taking
streams. E.g. it makes it possible to load images and animations from
wxFileSystem.

Closes #14185.

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

12 years agoAdded wxWrapperInputStream class.
Vadim Zeitlin [Mon, 16 Apr 2012 13:53:45 +0000 (13:53 +0000)] 
Added wxWrapperInputStream class.

This stream allows to wrap another stream. This is a useful base class for
adapter classes providing stream interface on top of something else, like the
upcoming wxFSInputStream.

See #14185.

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

12 years agoAdded support for page tooltips to wxAuiNotebook.
Vadim Zeitlin [Mon, 16 Apr 2012 12:12:26 +0000 (12:12 +0000)] 
Added support for page tooltips to wxAuiNotebook.

Allow setting tooltips for the tabs of the individual pages of wxAuiNotebook.

Closes #14216.

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

12 years agoAdded wxAcceleratorEntry::ToRawString().
Vadim Zeitlin [Mon, 16 Apr 2012 12:12:19 +0000 (12:12 +0000)] 
Added wxAcceleratorEntry::ToRawString().

This function can be used to obtain language/locale-independent representation
of an accelerator. This is particularly useful for storing it in configuration
files.

Closes #14228.

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

12 years agoNo real changes, just some typo fixes for previous commits.
Vadim Zeitlin [Mon, 16 Apr 2012 12:12:15 +0000 (12:12 +0000)] 
No real changes, just some typo fixes for previous commits.

Fix wxCOMPtr comment and don't use "s_" for non-static variable.

Closes #14227.

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

12 years agoUse new style directory selection dialog under Vista and later.
Vadim Zeitlin [Sun, 15 Apr 2012 23:18:12 +0000 (23:18 +0000)] 
Use new style directory selection dialog under Vista and later.

Use IFileDialog in wxDirDialog implementation if possible, it shows a much
more user-friendly dialog than the one used by SHBrowseForFolder().

Closes #11401.

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

12 years agoAdded wxCOMPtr<> helper class.
Vadim Zeitlin [Sun, 15 Apr 2012 23:18:08 +0000 (23:18 +0000)] 
Added wxCOMPtr<> helper class.

This allows to avoid error-prone manual AddRef() and Release() calls when
writing COM code in wxMSW.

See #11401.

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

12 years agoFix WXK_MENU handling in wxStyledTextCtrl.
Vadim Zeitlin [Sun, 15 Apr 2012 23:18:05 +0000 (23:18 +0000)] 
Fix WXK_MENU handling in wxStyledTextCtrl.

Map it to SCK_MENU instead of treating it as a modifier and simply swallowing
it.

Closes #14205.

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

12 years agoNo real changes, just fix misspellings in comments in wxGTK code.
Vadim Zeitlin [Sun, 15 Apr 2012 23:18:01 +0000 (23:18 +0000)] 
No real changes, just fix misspellings in comments in wxGTK code.

Also remove a couple of wrong $Id$ expansions.

Closes #14203.

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

12 years agoCall wxThread::OnExit() from wxThread::Exit() in wxMSW too.
Vadim Zeitlin [Sat, 14 Apr 2012 22:37:34 +0000 (22:37 +0000)] 
Call wxThread::OnExit() from wxThread::Exit() in wxMSW too.

Exit() is documented to call OnExit() and the pthreads version of wxThread did
behave as documented, so make wxMSW follow it as well and explicitly call
OnExit() before exiting the thread.

Closes #14212.

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

12 years agoAdd support for VT_I8 (long long) values to wxAutomationObject.
Vadim Zeitlin [Sat, 14 Apr 2012 22:31:57 +0000 (22:31 +0000)] 
Add support for VT_I8 (long long) values to wxAutomationObject.

Just map VT_I8 to wxLongLong.

Closes #14210.

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

12 years agoAdd support for horizontal mouse wheel events to wxGTK too.
Vadim Zeitlin [Sat, 14 Apr 2012 22:27:34 +0000 (22:27 +0000)] 
Add support for horizontal mouse wheel events to wxGTK too.

Handle GDK_SCROLL_{RIGHT,LEFT} directions in scroll-event handler in wxGTK.

Closes #14221.

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

12 years agoFix the check for wxUSE_DATETIME in wxGenericValidator code.
Vadim Zeitlin [Sat, 14 Apr 2012 22:27:31 +0000 (22:27 +0000)] 
Fix the check for wxUSE_DATETIME in wxGenericValidator code.

The #endif was somehow added at a wrong place and too much
wxDateTime-unrelated code was disabled when wxUSE_DATETIME was off.

Closes #14222.

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

12 years agomake sure status item rect in bar is highlighted when clicked, fixes #13630
Stefan Csomor [Sat, 14 Apr 2012 07:33:06 +0000 (07:33 +0000)] 
make sure status item rect in bar is highlighted when clicked, fixes #13630

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

12 years agoAlways check that we get a valid IDispatch* from get_Document as sometimes the call...
Steve Lamerton [Thu, 12 Apr 2012 21:15:16 +0000 (21:15 +0000)] 
Always check that we get a valid IDispatch* from get_Document as sometimes the call can succeed but return NULL.

Fixes #14182

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

12 years agoAdd missing interface items for Phoenix
Robin Dunn [Thu, 12 Apr 2012 05:33:29 +0000 (05:33 +0000)] 
Add missing interface items for Phoenix

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

12 years agoAdd missing interface items for Phoenix
Robin Dunn [Tue, 10 Apr 2012 03:27:55 +0000 (03:27 +0000)] 
Add missing interface items for Phoenix

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

12 years agoFix missing and broken interface items for Phoenix
Robin Dunn [Tue, 10 Apr 2012 03:27:50 +0000 (03:27 +0000)] 
Fix missing and broken interface items for Phoenix

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

12 years agoRemove the wxPython-only doc snippets from the C++ docs
Robin Dunn [Tue, 10 Apr 2012 03:27:44 +0000 (03:27 +0000)] 
Remove the wxPython-only doc snippets from the C++ docs

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

12 years agoMinor tweak to improve understandability
Robin Dunn [Tue, 10 Apr 2012 03:27:28 +0000 (03:27 +0000)] 
Minor tweak to improve understandability

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

12 years agoAdd CreateTextSizer
Robin Dunn [Tue, 10 Apr 2012 03:27:22 +0000 (03:27 +0000)] 
Add CreateTextSizer

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

12 years agoAlways use UTF-8 for file names passed to GTK+ functions under MSW.
Vadim Zeitlin [Sun, 8 Apr 2012 18:10:29 +0000 (18:10 +0000)] 
Always use UTF-8 for file names passed to GTK+ functions under MSW.

When building wxGTK under MSW, always use UTF-8 as file name encoding because
GTK+ doesn't use G_FILENAME_ENCODING there.

Add a helper wxGTK_CONV_FN() macro to hide the difference between the
platforms.

Closes #14035.

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

12 years agoNo real changes, just add extra brackets to wxGTK_CONV() macro.
Vadim Zeitlin [Sun, 8 Apr 2012 18:10:21 +0000 (18:10 +0000)] 
No real changes, just add extra brackets to wxGTK_CONV() macro.

These brackets are probably not really necessary but add them just in case
they can help with parsing some strange expressions and for consistency with
the other wxGTK_CONV_XXX() macros.

See #14035.

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

12 years agoCompilation fixes for Cairo-based wxGraphicsContext code under MSW.
Vadim Zeitlin [Sun, 8 Apr 2012 18:10:11 +0000 (18:10 +0000)] 
Compilation fixes for Cairo-based wxGraphicsContext code under MSW.

Include MSW-specific headers under MSW to fix various compilation problems
under MinGW.

Closes #14194.

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

12 years agoFix typo in wxKeyEvent::GetKeyCode() documentation example.
Vadim Zeitlin [Sun, 8 Apr 2012 13:25:41 +0000 (13:25 +0000)] 
Fix typo in wxKeyEvent::GetKeyCode() documentation example.

Use GetKeyCode() instead of (undefined) "keycode" variable.

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

12 years agoFix PCH-less compilation of graphicc.cpp under MSW too.
Vadim Zeitlin [Sun, 8 Apr 2012 10:10:20 +0000 (10:10 +0000)] 
Fix PCH-less compilation of graphicc.cpp under MSW too.

We need to include wx/window.h in all ports, not just wxGTK.

See #14194.

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

12 years agoAdd the client and art IDs
Robin Dunn [Sun, 8 Apr 2012 00:54:02 +0000 (00:54 +0000)] 
Add the client and art IDs

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

12 years agoMark which methods are pure virtual
Robin Dunn [Sat, 7 Apr 2012 04:18:28 +0000 (04:18 +0000)] 
Mark which methods are pure virtual

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

12 years agoDocument wxHelpControllerBase so the type can be used in Phoenix
Robin Dunn [Sat, 7 Apr 2012 04:18:23 +0000 (04:18 +0000)] 
Document wxHelpControllerBase so the type can be used in Phoenix

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

12 years agowxHtmlHelpController derives from wxHelpControllerBase
Robin Dunn [Sat, 7 Apr 2012 04:18:16 +0000 (04:18 +0000)] 
wxHtmlHelpController derives from wxHelpControllerBase

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

12 years agoAdd a ctor that is compatible with the documented wxHelpController API
Robin Dunn [Sat, 7 Apr 2012 04:18:11 +0000 (04:18 +0000)] 
Add a ctor that is compatible with the documented wxHelpController API

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

12 years agoHandle Ctrl-O and Ctrl-L MSW wxWebView accelerators too.
Vadim Zeitlin [Fri, 6 Apr 2012 19:51:23 +0000 (19:51 +0000)] 
Handle Ctrl-O and Ctrl-L MSW wxWebView accelerators too.

Do the same thing for them as for Ctrl-N, Ctrl-F and Ctrl-P, they are also
used by the control.

Closes #14192.

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

12 years agoRemove special setup_gccxml.h for GCCXML.
Vadim Zeitlin [Fri, 6 Apr 2012 19:51:20 +0000 (19:51 +0000)] 
Remove special setup_gccxml.h for GCCXML.

This file doesn't seem to be needed and the open() declaration in it actually
results in errors when using the latest gccxml from cvs under Windows, so just
get rid of it entirely.

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

12 years agofixes #14193
Stefan Csomor [Fri, 6 Apr 2012 18:07:10 +0000 (18:07 +0000)] 
fixes #14193

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

12 years agoSet the menu itself as event object for EVT_MENU_{OPEN,CLOSED} in wxMSW.
Vadim Zeitlin [Thu, 5 Apr 2012 22:27:36 +0000 (22:27 +0000)] 
Set the menu itself as event object for EVT_MENU_{OPEN,CLOSED} in wxMSW.

Make wxMSW consistent with the other ports and set the menu itself, not the
window it is attached to, as the event object for the menu open/close events.

See #1595.

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