wxWidgets.git
12 years agoavoid sending mouse events to the wrong window, fixes #2917
Paul Cornett [Wed, 15 Feb 2012 07:04:42 +0000 (07:04 +0000)] 
avoid sending mouse events to the wrong window, fixes #2917

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

12 years agoDocument wxLogGui::DoShow{Single,Multiple}LogMessage() as private.
Vadim Zeitlin [Wed, 15 Feb 2012 00:36:02 +0000 (00:36 +0000)] 
Document wxLogGui::DoShow{Single,Multiple}LogMessage() as private.

These methods should be documented because they can be overridden but they're
private so document them as such.

Closes #13981.

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

12 years agoDon't document wxListCtrl::SetColumnsOrder() as being const.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:58 +0000 (00:35 +0000)] 
Don't document wxListCtrl::SetColumnsOrder() as being const.

Because it isn't.

Closes #13980.

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

12 years agoClean up wxListBox documentation.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:55 +0000 (00:35 +0000)] 
Clean up wxListBox documentation.

Remove the methods inherited from the base class, there is no need to
re-document them here, especially as this was done incorrectly for Set().

Do document EnsureVisible() and IsSorted().

Closes #13979.

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

12 years agoMake documentation of wxIcon::ConvertToDisabled() more explicit.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:52 +0000 (00:35 +0000)] 
Make documentation of wxIcon::ConvertToDisabled() more explicit.

Use @onlyfor{wxmsw} and explain how can the same task be done under the other
platforms.

Closes #13977.

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

12 years agoDocument wxFTP::TransferMode enum in the correct scope.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:47 +0000 (00:35 +0000)] 
Document wxFTP::TransferMode enum in the correct scope.

It's declared inside wxFTP class and not in global scope.

Closes #13976.

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

12 years agoDocument wxGB{Position,Size}::operator!=(), remove operator!().
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:43 +0000 (00:35 +0000)] 
Document wxGB{Position,Size}::operator!=(), remove operator!().

The latter doesn't exist (any more?), the former does.

Closes #13975.

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

12 years agoRemove documentation of non-existent wxFontMapper::SetConfig().
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:39 +0000 (00:35 +0000)] 
Remove documentation of non-existent wxFontMapper::SetConfig().

Closes #13974.

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

12 years agoDocument Mac-only wxFileName methods as being Mac-only.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:36 +0000 (00:35 +0000)] 
Document Mac-only wxFileName methods as being Mac-only.

Use @onlyfor for them for consistency and to help the automated code
generators.

Closes #13971.

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

12 years agoDocument wxFileType::MessageParameters class.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:32 +0000 (00:35 +0000)] 
Document wxFileType::MessageParameters class.

Documentation is not really very helpful but better than nothing.

Closes #13972.

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

12 years agoFix wrong type of wild card parameter in wxFileCtrl documentation.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:29 +0000 (00:35 +0000)] 
Fix wrong type of wild card parameter in wxFileCtrl documentation.

It is a string, not a point.

Closes #13970.

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

12 years agoMake wxDragImage ctors taking hot spot point really deprecated in wxMSW.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:25 +0000 (00:35 +0000)] 
Make wxDragImage ctors taking hot spot point really deprecated in wxMSW.

They were documented as deprecated and deprecated in the generic version (and
actually not even available there any more without WXWIN_COMPATIBILITY_2_6)
but not in wxMSW, where we just had the weird wxLogDebug() statements that
were inconsistent with our handling of deprecation everywhere else.

Do deprecate them now, remove wxLogDebug() and also remove the deprecated
ctors and Create() overloads from the documentation.

Finally, remove the documentation of deprecated and available in the generic
version only ctor taking only wxCursor (closes #13967).

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

12 years agoDocument wxDocManager::CreatePreviewFrame() as being protected, not public.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:21 +0000 (00:35 +0000)] 
Document wxDocManager::CreatePreviewFrame() as being protected, not public.

Simply move the function documentation to the correct class section.

Closes #13966.

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

12 years agoDon't document private event handlers in doc/view frame classes.
Vadim Zeitlin [Wed, 15 Feb 2012 00:35:18 +0000 (00:35 +0000)] 
Don't document private event handlers in doc/view frame classes.

wxDoc[MDI]ParentFrame::OnCloseWindow(), wxDoc[MDI]ChildFrame::OnActivate() and
OnCloseWindow() are all private, don't document them as public. Just mention
that the wxEVT_CLOSE_WINDOW and wxEVT_ACTIVATE should be left for the
processing in the frame classes to let the default handling take place.

Closes #13965.

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

12 years agoMention __WIN64__ in the preprocessor defines documentation.
Vadim Zeitlin [Tue, 14 Feb 2012 23:14:53 +0000 (23:14 +0000)] 
Mention __WIN64__ in the preprocessor defines documentation.

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

12 years agoRemove the mention of non-existing wxPrintf_l() from the documentation.
Vadim Zeitlin [Tue, 14 Feb 2012 23:09:33 +0000 (23:09 +0000)] 
Remove the mention of non-existing wxPrintf_l() from the documentation.

This function doesn't exist (yet), so don't advise people to use it.

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

12 years agoadding missing initializer to raw_control, fixes #13963
Stefan Csomor [Mon, 13 Feb 2012 15:23:33 +0000 (15:23 +0000)] 
adding missing initializer to raw_control, fixes #13963

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

12 years agoadapting comparison to raw_control, see #13963
Stefan Csomor [Mon, 13 Feb 2012 15:22:04 +0000 (15:22 +0000)] 
adapting comparison to raw_control, see #13963

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

12 years agoDon't document deprecated wxComboCtrl::SetValueWithEvent().
Vadim Zeitlin [Sun, 12 Feb 2012 22:19:07 +0000 (22:19 +0000)] 
Don't document deprecated wxComboCtrl::SetValueWithEvent().

This method shouldn't be used at all, either SetValue() or ChangeValue()
should be used instead, so don't document it.

Closes #13961.

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

12 years agoImplement wxDV_ROW_LINES for generic wxDataViewCtrl.
Vadim Zeitlin [Sun, 12 Feb 2012 22:19:04 +0000 (22:19 +0000)] 
Implement wxDV_ROW_LINES for generic wxDataViewCtrl.

Provide wxDataViewCtrl::SetAlternateRowColour() to specify the colour to use
for odd rows explicitly but determine it automatically from the background
colour if no explicit colour was specified.

Closes #12834.

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

12 years agoDon't use deprecated wxDataViewCtrl::StartEditor() in the sample.
Vadim Zeitlin [Sun, 12 Feb 2012 22:18:59 +0000 (22:18 +0000)] 
Don't use deprecated wxDataViewCtrl::StartEditor() in the sample.

Also document this deprecation in the change log and explain how to update the
existing code.

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

12 years agoremove some wxPython-only methods that were accidentally added to the interface file
Robin Dunn [Sat, 11 Feb 2012 20:32:32 +0000 (20:32 +0000)] 
remove some wxPython-only methods that were accidentally added to the interface file

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

12 years agoremove wxGraphicsContext dependency for transparent background support
Paul Cornett [Sat, 11 Feb 2012 19:39:23 +0000 (19:39 +0000)] 
remove wxGraphicsContext dependency for transparent background support

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

12 years agoDocument wxDateTime::GregorianAdoption enum and TimeZone class.
Vadim Zeitlin [Sat, 11 Feb 2012 18:36:44 +0000 (18:36 +0000)] 
Document wxDateTime::GregorianAdoption enum and TimeZone class.

These types are referenced by the other documented functions so should be
documented themselves.

Closes #13959.

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

12 years agoFix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation.
Vadim Zeitlin [Sat, 11 Feb 2012 18:36:41 +0000 (18:36 +0000)] 
Fix "wxEmptyStr" typo in wxChoicebook and wxToolbook documentation.

It should be "wxEmptyString".

Closes #13955.

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

12 years agoImplement wxBG_STYLE_TRANSPARENT support for wxGTK.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:52 +0000 (16:26 +0000)] 
Implement wxBG_STYLE_TRANSPARENT support for wxGTK.

Use composited windows if supported by GTK+ for wxWindows with this background
style.

Also add wxWindow::IsTransparentBackgroundSupported() and show how to use it
in the sample.

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

12 years agoUpdate marks in non-current months shown in wxMSW wxCalendarCtrl.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:47 +0000 (16:26 +0000)] 
Update marks in non-current months shown in wxMSW wxCalendarCtrl.

Native wxMSW calendar control can show more than just the current month. When
other months are shown, ensure that they don't have marks for the days marked
in the current month as this doesn't make sense.

See #13934.

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

12 years agoSet marks used in wxMSW wxCalendarCtrl unconditionally.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:41 +0000 (16:26 +0000)] 
Set marks used in wxMSW wxCalendarCtrl unconditionally.

This fixes wrong display (random days could have been shown marked) when not
using wxCAL_SHOW_HOLIDAYS style. Apparently we need to set the marks
unconditionally as they are not turned off by default, so ensure we call
UpdateMarks() even without wxCAL_SHOW_HOLIDAYS.

See #13934.

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

12 years agoAlso add wxNativeFontInfo::SetStrikethrough() stub for wxGTK2.
Vadim Zeitlin [Sat, 11 Feb 2012 16:26:39 +0000 (16:26 +0000)] 
Also add wxNativeFontInfo::SetStrikethrough() stub for wxGTK2.

This should have been done in r70563 which added the stub to wxGTK1 part only.

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

12 years agoAdded a test for wxUSE_DATAOBJ to wxDFB which doesn't support it.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:49 +0000 (23:34 +0000)] 
Added a test for wxUSE_DATAOBJ to wxDFB which doesn't support it.

This is just one of many, many things not supported by wxDFB but check for at
least this one as it prevents even the precompiled header from being created.

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

12 years agoFix compilation ofr ports without native font info, such as wxDFB.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:45 +0000 (23:34 +0000)] 
Fix compilation ofr ports without native font info, such as wxDFB.

Don't use wxString::ToLong() with short variable.

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

12 years agoAdd stubs for wxNativeFontInfo::{Get,Set}Strikethrough() to wxGTK.
Vadim Zeitlin [Fri, 10 Feb 2012 23:34:42 +0000 (23:34 +0000)] 
Add stubs for wxNativeFontInfo::{Get,Set}Strikethrough() to wxGTK.

These functions are not implemented currently (just as their
{Get,Set}Underlined() counterparts) but should still be defined to allow the
code using wxNativeFontInfo to link.

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

12 years agoDon't include the terminating NUL
Robin Dunn [Fri, 10 Feb 2012 18:30:13 +0000 (18:30 +0000)] 
Don't include the terminating NUL

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

12 years agoFix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.
Vadim Zeitlin [Fri, 10 Feb 2012 10:22:45 +0000 (10:22 +0000)] 
Fix wxHash{Set,Map} compilation with g++ 4.7 in C++11 mode.

Fully qualify the hasher and comparator classes used with
WX_DECLARE_HASH_{SET,MAP} macros as they're used as base classes by the
standard library implementation in g++ 4.7 and using them without the scope
operator results in compilation errors because they're interpreted as being
(inaccessible) base classes and not the global ones.

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

12 years agoDocument MSW-only wxEVT_MOVING event.
Vadim Zeitlin [Thu, 9 Feb 2012 16:22:04 +0000 (16:22 +0000)] 
Document MSW-only wxEVT_MOVING event.

As we documented EVT_MOVE_{START,END}, we should do it for this one as well.

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

12 years agoFix typo in wxSlider XRC format documentation.
Vadim Zeitlin [Thu, 9 Feb 2012 13:24:43 +0000 (13:24 +0000)] 
Fix typo in wxSlider XRC format documentation.

"pagesize" was documented as line size, fix this.

Closes #13949.

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

12 years agoFix wrong signature of wxBitmap(bits) ctor in the documentation.
Vadim Zeitlin [Wed, 8 Feb 2012 23:45:32 +0000 (23:45 +0000)] 
Fix wrong signature of wxBitmap(bits) ctor in the documentation.

This ctor takes just a "char* bits" (spelt as "char bits[]" for some reason),
not "char* bits[]".

Closes #13947.

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

12 years agoRestrict button size restrictions documentation to OSX/Carbon only.
Vadim Zeitlin [Wed, 8 Feb 2012 12:59:20 +0000 (12:59 +0000)] 
Restrict button size restrictions documentation to OSX/Carbon only.

OSX/Cocoa doesn't have these restrictions.

Closes #13122.

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

12 years agoDocument that wxStandardPaths::GetUserConfigDir() doesn't use app info.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:58 +0000 (02:09 +0000)] 
Document that wxStandardPaths::GetUserConfigDir() doesn't use app info.

Explicitly mention this instead of just relying on the examples to convey it.

Closes #11275.

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

12 years agoUse wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:55 +0000 (02:09 +0000)] 
Use wxSTC_INVALID_POSITION in wxStyledTextCtrl documentation.

Comments -- copied from the generated header file -- used INVALID_POSITION
which is not actually defined, replace it with wxSTC_INVALID_POSITION that is
defined.

Closes #11454.

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

12 years agoDocument wxAUI_NB_MIDDLE_CLICK_CLOSE.
Vadim Zeitlin [Wed, 8 Feb 2012 02:09:51 +0000 (02:09 +0000)] 
Document wxAUI_NB_MIDDLE_CLICK_CLOSE.

Also mention that it's part of wxAUI_NB_DEFAULT_STYLE.

Closes #13382.

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

12 years agoInterface fixes changing fiction into truth.
Robin Dunn [Wed, 8 Feb 2012 00:22:21 +0000 (00:22 +0000)] 
Interface fixes changing fiction into truth.

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

12 years agoFollowing the theory that something lame is better than nothing at all, provide a...
Robin Dunn [Wed, 8 Feb 2012 00:20:38 +0000 (00:20 +0000)] 
Following the theory that something lame is better than nothing at all, provide a very generic implementation of the ctor wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle) by drawing the polygon into a bitmap and using that to create the region.

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

12 years agoAdd an empty implementation of the OSXGenerateEvent() pure virtual so the generic...
Robin Dunn [Wed, 8 Feb 2012 00:16:59 +0000 (00:16 +0000)] 
Add an empty implementation of the OSXGenerateEvent() pure virtual so the generic date picker ctrl can be used in the cocoa build.

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

12 years agoDon't assume that XCode is in /Developer. Use "xcode-select -print-path" instead.
Robin Dunn [Tue, 7 Feb 2012 23:57:00 +0000 (23:57 +0000)] 
Don't assume that XCode is in /Developer.  Use "xcode-select -print-path" instead.

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

12 years agouse buf.length() instead of strlen()
Robin Dunn [Tue, 7 Feb 2012 23:55:50 +0000 (23:55 +0000)] 
use buf.length() instead of strlen()

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

12 years agoAdd length parameter to AddTextRaw and AppendTextRaw. Closes #1358
Robin Dunn [Tue, 7 Feb 2012 23:55:07 +0000 (23:55 +0000)] 
Add length parameter to AddTextRaw and AppendTextRaw. Closes #1358

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

12 years agoAvoid CRT deprecation warnings for MSVC build using makefiles too.
Vadim Zeitlin [Tue, 7 Feb 2012 21:38:31 +0000 (21:38 +0000)] 
Avoid CRT deprecation warnings for MSVC build using makefiles too.

Define _CRT_SECURE_NO_DEPRECATE, _CRT_NON_CONFORMING_SWPRINTFS and
_SCL_SECURE_NO_WARNINGS when using makefiles to build the library too for
consistency with the project files.

These defines are only needed for VC8 and later but should do no harm for the
previous versions.

See #11009.

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

12 years agoRebake all project files to reflect MSVC deprecation warnings defines.
Vadim Zeitlin [Tue, 7 Feb 2012 21:38:09 +0000 (21:38 +0000)] 
Rebake all project files to reflect MSVC deprecation warnings defines.

Rebake all the projects after the changes of r70182, even if they're only
really needed for the library itself, the other project files should
correspond to the bakefiles contents too.

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

12 years agoforwarding mouse moved events to the view under the mouse, not the firstResponder
Stefan Csomor [Tue, 7 Feb 2012 16:40:40 +0000 (16:40 +0000)] 
forwarding mouse moved events to the view under the mouse, not the firstResponder

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

12 years agoFix wxAboutDialogInfo::GetName() return type in the documentation.
Vadim Zeitlin [Tue, 7 Feb 2012 13:48:44 +0000 (13:48 +0000)] 
Fix wxAboutDialogInfo::GetName() return type in the documentation.

wxString is returned by value, not const reference.

Closes #13941.

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

12 years agoFix infinite loop in wxHtmlEasyPrinting page break code.
Vadim Zeitlin [Tue, 7 Feb 2012 13:02:32 +0000 (13:02 +0000)] 
Fix infinite loop in wxHtmlEasyPrinting page break code.

The code didn't handle cells higher than the page height correctly and entered
an infinite loop when trying to adjust page breaks in their presence, e.g.
when trying to print a very tall image.

Closes #13935.

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

12 years agoNo real changes, just pass const wxArrayInt to wxHtmlCell::AdjustPagebreak().
Vadim Zeitlin [Tue, 7 Feb 2012 13:02:27 +0000 (13:02 +0000)] 
No real changes, just pass const wxArrayInt to wxHtmlCell::AdjustPagebreak().

AdjustPagebreak() never modifies the array passed to it, so pass it as const
reference.

See #13935.

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

12 years agoUpdate setup for OpenVMS to make wxX11 work again
Jouk Jansen [Tue, 7 Feb 2012 10:33:31 +0000 (10:33 +0000)] 
Update setup for OpenVMS to make wxX11 work again

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

12 years agoReturn NULL from wxAuiNotebook::GetCurrentPage() if there is no selection.
Vadim Zeitlin [Mon, 6 Feb 2012 13:28:42 +0000 (13:28 +0000)] 
Return NULL from wxAuiNotebook::GetCurrentPage() if there is no selection.

Make it behave as wxBookCtrlBase::GetCurrentPage() and just silently return
NULL instead of asserting if there is no selection.

Closes #13932.

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

12 years agoFix typo in an event type constant in wxTreeListCtrl documentation.
Vadim Zeitlin [Mon, 6 Feb 2012 13:28:39 +0000 (13:28 +0000)] 
Fix typo in an event type constant in wxTreeListCtrl documentation.

s/CHeCKED/CHECKED/g

Closes #13931.

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

12 years agoFix handling of positional parameters in wxPrintf() and related.
Vadim Zeitlin [Mon, 6 Feb 2012 13:28:34 +0000 (13:28 +0000)] 
Fix handling of positional parameters in wxPrintf() and related.

Handle positional parameter specifications in wxFormatConverter to ensure that
e.g. "%N$s" are correctly transformed to "%N$S" if needed. This fixes the use
of positional parameters under OS X.

Closes #10965.

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

12 years agoReverted bogus fix for bogus bug report #13402.
Stefan Neis [Sun, 5 Feb 2012 22:53:39 +0000 (22:53 +0000)] 
Reverted bogus fix for bogus bug report #13402.

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

12 years agoMark unused parameter as such, fixes #13402.
Stefan Neis [Sun, 5 Feb 2012 22:20:57 +0000 (22:20 +0000)] 
Mark unused parameter as such, fixes #13402.

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

12 years agoremove code ifdef-ed on __X__, it is never defined for wxGTK
Paul Cornett [Sun, 5 Feb 2012 17:43:28 +0000 (17:43 +0000)] 
remove code ifdef-ed on __X__, it is never defined for wxGTK

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

12 years agoDon't set PAGESETUPDLG::hDevNames and hDevMode when using PSD_RETURNDEFAULT.
Vadim Zeitlin [Sun, 5 Feb 2012 15:45:03 +0000 (15:45 +0000)] 
Don't set PAGESETUPDLG::hDevNames and hDevMode when using PSD_RETURNDEFAULT.

If the page setup dialog is used to retrieve the default information, hDevMode
and hDevNames fields must not be set, otherwise PageSetupDlg() function simply
fails because of incorrect parameters passed to it.

Closes #13928.

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

12 years agoFix huge performance problem in wxStdInputStream when using MSVC8/9.
Vadim Zeitlin [Sun, 5 Feb 2012 14:18:37 +0000 (14:18 +0000)] 
Fix huge performance problem in wxStdInputStream when using MSVC8/9.

Our overridden xsgetn() method was never called when using these compilers
because they used their own, non-standard, _Xsgetn_s() instead. Because of
this the stream was always read character by character which was very
inefficient.

Fix the problem by overriding _Xsgetn_s() for these compilers and explicitly
forwarding it to xsgetn().

Closes #13926.

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

12 years agoTake void** client data in wxSingleChoiceDialog ctor and not char**.
Vadim Zeitlin [Sun, 5 Feb 2012 14:18:33 +0000 (14:18 +0000)] 
Take void** client data in wxSingleChoiceDialog ctor and not char**.

The client data is supposed to be untyped, there is really no reason (other
than compatibility with C conventions of 40 years ago) to use char** here.
So don't do it and provide the versions taking "void**" keeping "char**" ones
for backwards compatibility only.

Also deprecate GetSelectionClientData() that returned char* and add a new
GetSelectionData() returning void* instead.

Closes #13876.

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

12 years agoPreserve focus when window is minimized and restored in wxMSW.
Vadim Zeitlin [Sun, 5 Feb 2012 14:18:28 +0000 (14:18 +0000)] 
Preserve focus when window is minimized and restored in wxMSW.

Add specific code to save and restore the focus when the window is minimized
and restored in wxMSW as the existing code in WM_ACTIVATE handler wasn't
enough because this event was generated too late when minimizing the window
(when it was already minimized and so the focus had been already lost) and too
early when restoring it (so the window was still minimized and restoring focus
failed).

This is still not perfect as we do in our code something Windows would be
expected to do automatically but for whatever reason, it doesn't do it for
wxWidgets programs, and this manual workaround at least prevents the annoying
total focus loss.

Closes #1599.

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

12 years agoEnsure that the progress dialog parent is activated at the end under MSW.
Vadim Zeitlin [Sun, 5 Feb 2012 14:18:25 +0000 (14:18 +0000)] 
Ensure that the progress dialog parent is activated at the end under MSW.

The progress dialog parent was supposed to become the new foreground window
when the progress dialog was closed, but this didn't happen because
m_parentTop was never set when the native progress dialog implementation was
used under MSW. Fix this by explicitly calling the new SetTopParent() from its
ctor.

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

12 years agoNo changes, just implement Raise() in wxTopLevelWindow in wxMSW.
Vadim Zeitlin [Sun, 5 Feb 2012 14:18:22 +0000 (14:18 +0000)] 
No changes, just implement Raise() in wxTopLevelWindow in wxMSW.

Get rid of two identical implementations in wxFrame and wxDialog and only
override this function once in wxTopLevelWindow.

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

12 years agoFix initial state of radio toolbar tools in wxGTK.
Vadim Zeitlin [Sun, 5 Feb 2012 01:20:03 +0000 (01:20 +0000)] 
Fix initial state of radio toolbar tools in wxGTK.

The last radio group item was initially checked under wxGTK instead of the
first one, as under the other platforms. Fix this by correcting the check for
the first radio group item which was inversed in wxToolBar::DoInsertTool().

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

12 years agoNever refresh controls from EVT_PAINT handler in wxPropertyGrid.
Vadim Zeitlin [Sun, 5 Feb 2012 01:20:00 +0000 (01:20 +0000)] 
Never refresh controls from EVT_PAINT handler in wxPropertyGrid.

Refreshing the controls after finishing repainting the grid results in an
infinite stream of paint events, so don't do this, especially as this doesn't
seem to have any bad consequences under wxGTK which was the only major
platform where this behaviour was enabled.

Also rename wxPG_REFRESH_CONTROLS_AFTER_REPAINT to just wxPG_REFRESH_CONTROLS
and keep the control refreshing code for wxGTK only in a couple of places
outside of EVT_PAINT handler to be on the safe side.

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

12 years agoFix the URL generated by Doxygen @sampledir macro.
Vadim Zeitlin [Sat, 4 Feb 2012 12:22:46 +0000 (12:22 +0000)] 
Fix the URL generated by Doxygen @sampledir macro.

"samples/" part of the URL was missing, add it.

Closes #13925.

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

12 years agoDocument wxNO_3D as being obsolete.
Vadim Zeitlin [Sat, 4 Feb 2012 11:45:53 +0000 (11:45 +0000)] 
Document wxNO_3D as being obsolete.

This style doesn't do anything any more, so replace it documentation with a
deprecation notice.

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

12 years agoFix typo in EVT_TREE_END_LABEL_EDIT documentation.
Vadim Zeitlin [Fri, 3 Feb 2012 17:57:59 +0000 (17:57 +0000)] 
Fix typo in EVT_TREE_END_LABEL_EDIT documentation.

Wrong event type was used, correct it.

Closes #13922.

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

12 years agoCheck string length correctly in wxFileSystem::URLToFileName().
Vadim Zeitlin [Fri, 3 Feb 2012 17:27:21 +0000 (17:27 +0000)] 
Check string length correctly in wxFileSystem::URLToFileName().

Check that the string is long enough before accessing its first and second
characters to fix a crash when an empty or one-character string was passed to
wxFileSystem::URLToFileName().

Closes #13920.

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

12 years agoEnable callbacks for wxFileSystemWatcher FD under OS X.
Vadim Zeitlin [Fri, 3 Feb 2012 17:27:17 +0000 (17:27 +0000)] 
Enable callbacks for wxFileSystemWatcher FD under OS X.

We need to enable callbacks to get them initially, otherwise no events are
ever detected.

Closes #13919.

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

12 years agoFix speed regression in wxFileHistory::AddFileToHistory().
Vadim Zeitlin [Fri, 3 Feb 2012 17:27:13 +0000 (17:27 +0000)] 
Fix speed regression in wxFileHistory::AddFileToHistory().

Avoid full normalization including wxPATH_NORM_LONG when adding files to
wxFileHistory as this can take a very long time when using network paths under
Windows.

Closes #13915.

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

12 years agoTurkish translations update from Kaya Zeren.
Vadim Zeitlin [Fri, 3 Feb 2012 14:15:17 +0000 (14:15 +0000)] 
Turkish translations update from Kaya Zeren.

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

12 years agoFix the type of global font constants in the documentation.
Vadim Zeitlin [Fri, 3 Feb 2012 00:24:09 +0000 (00:24 +0000)] 
Fix the type of global font constants in the documentation.

wxNORMAL_FONT, wxSMALL_FONT &c were documented as wxFont objects but they are
really wxFont pointers.

Closes #13917.

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

12 years agoFix bug with mouse wheel scrolling wxStyledTextCtrl in long running programs.
Vadim Zeitlin [Fri, 3 Feb 2012 00:21:45 +0000 (00:21 +0000)] 
Fix bug with mouse wheel scrolling wxStyledTextCtrl in long running programs.

In long running programs the wxEvent time stamp could wrap around resulting in
all mouse wheel events being ignored in wxStyledTextCtrl as the comparison of
the (positive) time until which all the subsequent events were supposed to be
blocked and the (now negative) current event time stamp would be always false.

Fix this by using wxStopWatch::TimeInMicro() to avoid wraparound instead of
wxEvent::GetTimestamp().

Also rename the variable to have a more clear name as the original code wasn't
easy to understand.

Closes #9057.

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

12 years agoDisable navigation sounds in wxWebViewIE. This brings the backend into line with...
Steve Lamerton [Thu, 2 Feb 2012 20:32:08 +0000 (20:32 +0000)] 
Disable navigation sounds in wxWebViewIE. This brings the backend into line with the other backends. Also add a general method for changing INTERNETFEATURELIST settings.

See #13694

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

12 years agoFix initial wxRadioBox buttons positions in wxMSW.
Vadim Zeitlin [Thu, 2 Feb 2012 14:26:06 +0000 (14:26 +0000)] 
Fix initial wxRadioBox buttons positions in wxMSW.

We only updated the button positions when the radio box was moved or resized
after being created but didn't do it initially, so a radio box created with
fixed position and size didn't lay out its buttons correctly. Do lay them out
immediately after creating the radio box to fix this.

Closes #13912.

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

12 years agoAdd wxFontDialog ctor not taking wxFontData to wxOSX.
Vadim Zeitlin [Thu, 2 Feb 2012 14:19:34 +0000 (14:19 +0000)] 
Add wxFontDialog ctor not taking wxFontData to wxOSX.

wxFontDialog should have ctor and Create() overload taking just wxWindow
parent in addition to the one taking parent and wxFontData used to initialize
the dialog but it didn't have them in wxOSX, do add them now.

Closes #13908.

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

12 years agoFix wxDataViewCtrl::GetItemRect() signature in wxOSX and document it better.
Vadim Zeitlin [Thu, 2 Feb 2012 14:19:30 +0000 (14:19 +0000)] 
Fix wxDataViewCtrl::GetItemRect() signature in wxOSX and document it better.

The second parameter of this method should be optional, so make it so in wxOSX.

Also document what this method does exactly and the platforms under which it's
implemented.

Closes #13914.

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

12 years agoshould not bring to front upon focussing
Stefan Csomor [Wed, 1 Feb 2012 13:25:35 +0000 (13:25 +0000)] 
should not bring to front upon focussing

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

12 years agoRemove duplicate wxPoint2DInt operator declarations.
Vadim Zeitlin [Tue, 31 Jan 2012 19:39:43 +0000 (19:39 +0000)] 
Remove duplicate wxPoint2DInt operator declarations.

No real changes, just remove the redundant declarations.

Closes #13900.

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

12 years agoSet the file name for temporary wxFFile objects.
Vadim Zeitlin [Tue, 31 Jan 2012 19:38:45 +0000 (19:38 +0000)] 
Set the file name for temporary wxFFile objects.

Pass the name of the temporary file to wxFFile::Attach(). This allows to give
more useful error messages if any operation on this file fails later.

Closes #13903.

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

12 years agoDocument wxFFile::GetName().
Vadim Zeitlin [Tue, 31 Jan 2012 19:38:41 +0000 (19:38 +0000)] 
Document wxFFile::GetName().

Somehow this method was not documented.

See #13903.

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

12 years agoremove virtual override that just calls base
Paul Cornett [Tue, 31 Jan 2012 17:44:32 +0000 (17:44 +0000)] 
remove virtual override that just calls base

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

12 years agoimplement wxGetMousePosition without using X-specific code
Paul Cornett [Tue, 31 Jan 2012 17:41:21 +0000 (17:41 +0000)] 
implement wxGetMousePosition without using X-specific code

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

12 years agoguarding Update() on OSX not to be issued faster than 1/30 later than the last redraw
Stefan Csomor [Tue, 31 Jan 2012 17:39:39 +0000 (17:39 +0000)] 
guarding Update() on OSX not to be issued faster than 1/30 later than the last redraw

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

12 years agorevert to using Update()
Stefan Csomor [Tue, 31 Jan 2012 17:37:31 +0000 (17:37 +0000)] 
revert to using Update()

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

12 years agoreenabling an Update where necessary
Stefan Csomor [Tue, 31 Jan 2012 15:00:03 +0000 (15:00 +0000)] 
reenabling an Update where necessary

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

12 years agoFix wxHTTP::SetPostBuffer() compilation in ANSI build.
Vadim Zeitlin [Tue, 31 Jan 2012 13:09:11 +0000 (13:09 +0000)] 
Fix wxHTTP::SetPostBuffer() compilation in ANSI build.

wxString::mb_str() returns a raw pointer and not wxScopedCharBuffer when
wxUSE_UNICODE==0 so fix the code to do it differently in this case.

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

12 years agoDon't document wxVector<>::reverse_iterator.
Vadim Zeitlin [Tue, 31 Jan 2012 13:09:07 +0000 (13:09 +0000)] 
Don't document wxVector<>::reverse_iterator.

Documenting just this class but not iterator (and const_iterator) is
inconsistent but documenting all of them is too much mostly useless work as
all iterators (of the same category) have the same interface anyhow. So just
remove the documentation of reverse_iterator for now.

See #2585.

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

12 years agoRemove dummy Lithuanian translations.
Vadim Zeitlin [Tue, 31 Jan 2012 13:09:04 +0000 (13:09 +0000)] 
Remove dummy Lithuanian translations.

All non-translated strings were "translated" as their English originals in
lt.po. This was just a artefact of the software used for translation and
wrong, so remove all these dummy translations.

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

12 years agohandle theme change which changes window border width
Paul Cornett [Tue, 31 Jan 2012 07:30:11 +0000 (07:30 +0000)] 
handle theme change which changes window border width

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

12 years agoattempt to isolate which Update() calls are necessary at all, as they cause performan...
Stefan Csomor [Mon, 30 Jan 2012 16:30:59 +0000 (16:30 +0000)] 
attempt to isolate which Update() calls are necessary at all, as they cause performance issues under OSX

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

12 years agoalways setting the event object to the menu, see #1595
Stefan Csomor [Mon, 30 Jan 2012 16:25:22 +0000 (16:25 +0000)] 
always setting the event object to the menu, see #1595

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

12 years agofixing the routing of UpdateUI to the window by just passing NULL as source
Stefan Csomor [Mon, 30 Jan 2012 16:05:03 +0000 (16:05 +0000)] 
fixing the routing of UpdateUI to the window by just passing NULL as source

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

12 years agomove SetPangoAttrsForFont to wxFont, should have been part of r70475
Paul Cornett [Sun, 29 Jan 2012 08:49:01 +0000 (08:49 +0000)] 
move SetPangoAttrsForFont to wxFont, should have been part of r70475

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

12 years agouse GTKSetPangoAttrs in wxCairoContext
Paul Cornett [Sun, 29 Jan 2012 08:35:45 +0000 (08:35 +0000)] 
use GTKSetPangoAttrs in wxCairoContext

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

12 years agomove Pango underline workaround into wxFont::GTKSetPangoAttrs
Paul Cornett [Sun, 29 Jan 2012 08:14:34 +0000 (08:14 +0000)] 
move Pango underline workaround into wxFont::GTKSetPangoAttrs

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