]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
13 years agoFixed problem with the size of paragraphs not needing layout not being taken into...
Julian Smart [Sun, 30 Oct 2011 17:28:03 +0000 (17:28 +0000)] 
Fixed problem with the size of paragraphs not needing layout not being taken into account when calculating overall box size.
Should fix the problem with lines becoming insensitive to mouse clicks after adding a couple of shorter lines.

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

13 years agoPerform wxAuiToolBar idle updates from UpdateWindowUI(), not OnIdle().
Vadim Zeitlin [Sun, 30 Oct 2011 16:51:10 +0000 (16:51 +0000)] 
Perform wxAuiToolBar idle updates from UpdateWindowUI(), not OnIdle().

No real changes, just optimize the idle updates by doing it from (less often
called) UpdateWindowUI() instead of EVT_IDLE handler.

Closes #10075.

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

13 years agoGenerate right click events for all kinds of items in wxAuiToolBar.
Vadim Zeitlin [Sun, 30 Oct 2011 16:44:24 +0000 (16:44 +0000)] 
Generate right click events for all kinds of items in wxAuiToolBar.

Don't generate wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK for normal items only,
they can be useful for other ones too.

Note that this had been previously applied to 2.8 branch as r66926 but somehow
wasn't applied to the trunk.

Closes #10079.

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

13 years agoFix splitting message into title in body in MSW wxProgressDialog.
Vadim Zeitlin [Sun, 30 Oct 2011 16:41:34 +0000 (16:41 +0000)] 
Fix splitting message into title in body in MSW wxProgressDialog.

If the message doesn't contain any new lines, it should be used as the body,
not the title as having title without body doesn't make sense and looks
strange.

Closes #13441.

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

13 years agoDon't replace non default wxMessageDialog labels with default translations.
Vadim Zeitlin [Sun, 30 Oct 2011 16:22:30 +0000 (16:22 +0000)] 
Don't replace non default wxMessageDialog labels with default translations.

The code translating the button labels of wxMessageBox to the application
language was overeager and replaced even the custom labels with the
translations of the default ones.

This shouldn't be done, of course, so simply check that no custom labels had
been set before translating.

See #10962.

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

13 years agoChange variables naming convention in wxAUI code.
Vadim Zeitlin [Sun, 30 Oct 2011 14:20:03 +0000 (14:20 +0000)] 
Change variables naming convention in wxAUI code.

Use the standard wxWidgets camelCase convention instead of the
old_one_using_underscores for all the private variables.

Closes #13476.

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

13 years agoLink tests with webview library only if it is actually available.
Vadim Zeitlin [Sun, 30 Oct 2011 14:19:59 +0000 (14:19 +0000)] 
Link tests with webview library only if it is actually available.

This allows the tests to build again even on the machines without the
prerequisites for building wxWebView.

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

13 years agoRemove apparently unnecessary wxAuiMDIClientWindow dtor.
Vadim Zeitlin [Sun, 30 Oct 2011 14:19:55 +0000 (14:19 +0000)] 
Remove apparently unnecessary wxAuiMDIClientWindow dtor.

This dtor doesn't seem to do anything useful as the base class dtor already
destroys all window children anyhow and removing it is reported to fix some
crashes in wxAUI (which is surprising and probably hides some other bug...).

Closes #13547.

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

13 years agoAdd wx/datetimectrl.h to the wxAdv files list.
Vadim Zeitlin [Sun, 30 Oct 2011 14:19:51 +0000 (14:19 +0000)] 
Add wx/datetimectrl.h to the wxAdv files list.

Ensure that this header is installed by "make install" as it ought to.

Close #13529.

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

13 years agoFix assert in generic wxListCtrl icon view when using images.
Vadim Zeitlin [Sun, 30 Oct 2011 14:19:47 +0000 (14:19 +0000)] 
Fix assert in generic wxListCtrl icon view when using images.

Don't assume that the item image is a valid index in m_small_image_list as we
may be in icon view which doesn't use small images at all.

For now restrict this code to the report view mode as apparently the cached
line height is not supposed to be used in other modes even though it's not
clear whether this is really the case and so, perhaps, this code should also
be used when in small icons view mode.

Closes #13604.

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

13 years agoFixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)
Julian Smart [Sun, 30 Oct 2011 13:39:11 +0000 (13:39 +0000)] 
Fixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)

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

13 years agoAdd indents to maximum size to prevent problems with paragraph layout (fixes #13458).
Julian Smart [Sun, 30 Oct 2011 13:34:43 +0000 (13:34 +0000)] 
Add indents to maximum size to prevent problems with paragraph layout (fixes #13458).

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

13 years agoAllow customization of the locations where persistent settings are stored.
Vadim Zeitlin [Sun, 30 Oct 2011 10:08:18 +0000 (10:08 +0000)] 
Allow customization of the locations where persistent settings are stored.

Make it possible to set a non-default wxPersistenceManager to use and allow
overriding of GetConfig() and GetKey() methods by making them virtual and
documenting them.

This can be notably used to allow porting of the existing code to use
wxPersistenceManager while keeping compatibility with the old settings.

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

13 years agoFix return value of wxPersistentSplitter::RestoreValue().
Vadim Zeitlin [Sun, 30 Oct 2011 10:08:14 +0000 (10:08 +0000)] 
Fix return value of wxPersistentSplitter::RestoreValue().

It used to always return false which didn't allow the code using to decide
whether the default splitter position should be used or not.

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

13 years agoAdd missing interface items for Phoenix
Robin Dunn [Sat, 29 Oct 2011 21:34:49 +0000 (21:34 +0000)] 
Add missing interface items for Phoenix

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

13 years agoresolve multiple inheritance ambiguity
Robin Dunn [Sat, 29 Oct 2011 04:50:04 +0000 (04:50 +0000)] 
resolve multiple inheritance ambiguity

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

13 years agoparenthesize bitwise operator in logical expression
Paul Cornett [Sat, 29 Oct 2011 04:49:38 +0000 (04:49 +0000)] 
parenthesize bitwise operator in logical expression

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

13 years agoMake BOM-detection code in wxConvAuto public.
Vadim Zeitlin [Thu, 27 Oct 2011 22:48:54 +0000 (22:48 +0000)] 
Make BOM-detection code in wxConvAuto public.

Export GetBOM() and DetectBOM() functions.

Also rename BOMType enum elements to use "wx" prefix now that they're public.

Closes #13599.

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

13 years agoNo changes, just simplifications to configure code.
Vadim Zeitlin [Thu, 27 Oct 2011 22:48:50 +0000 (22:48 +0000)] 
No changes, just simplifications to configure code.

Implicitly use SEARCH_LIB in WX_PATH_FIND_LIBRARIES() and WX_FIND_LIB() macros
to avoid having to pass it to them explicitly every time.

Closes #13601.

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

13 years agoNo changes, just remove redundant code.
Vadim Zeitlin [Thu, 27 Oct 2011 22:48:46 +0000 (22:48 +0000)] 
No changes, just remove redundant code.

Don't call FindToolByPosition() again in wxAuiToolBar::OnLeftUp() when we just
called it above.

Closes #13600.

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

13 years agoAdd _PTR WX_DECLARE_HASH_SET variants to fix warnings about operator->().
Vadim Zeitlin [Thu, 27 Oct 2011 22:26:10 +0000 (22:26 +0000)] 
Add _PTR WX_DECLARE_HASH_SET variants to fix warnings about operator->().

Macros from WX_DECLARE_HASH_SET family could declare an operator->() which
could never be called because it returned a pointer to a non-object (e.g. a
pointer or a primitive type).

Fix this in the same way as for WX_DECLARE_ARRAY macros by adding (badly but
consistently) named _PTR variants of the macros to allow defining the versions
without operator->().

This fixes tons of warnings when building wx with Sun CC.

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

13 years agoUse WX_XXX_ARRAY_PTR macro variants for arrays of pointers.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:51 +0000 (21:10 +0000)] 
Use WX_XXX_ARRAY_PTR macro variants for arrays of pointers.

Arrays of pointers must not overload operator->() as it is not used with them
and is, in fact, unusable, provoking a warning from Sun CC every time such
array is declared. Use the special _PTR-suffixed versions to avoid this.

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

13 years agoDon't make wxQsort() extern "C" nor use any special convention for it.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:48 +0000 (21:10 +0000)] 
Don't make wxQsort() extern "C" nor use any special convention for it.

It doesn't make sense to require passing C functions to wxQsort() that we
define in a C++ library. We also don't need any special calling convention
here.

Notice that the only existing uses of wxQsort() inside wxWidgets itself were
not actually extern "C" and one of them didn't even use the correct calling
convention.

Also avoid using non-wx-prefixed CMPFUNCDATA identifier in a public header,
rename it to wxSortCallback instead.

Finally make wxQsort() documentation slightly more useful.

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

13 years agoMake GTK callbacks passed to GTKConnectWidget() extern "C".
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:45 +0000 (21:10 +0000)] 
Make GTK callbacks passed to GTKConnectWidget() extern "C".

This fixes (harmless but annoying) warnings about mixing C++ and C linkage
function pointers from Sun compiler.

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

13 years agoExplicitly declare environ variable.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:43 +0000 (21:10 +0000)] 
Explicitly declare environ variable.

While POSIX and SUS both mandate this variable existence, they don't say that
it needs to be declared anywhere and it actually doesn't seem to be declared
under Solaris when using Sun CC and so using it resulted in compilation errors.

Just declare it ourselves to avoid them.

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

13 years agoAlways include locale.h to get LC_ALL declaration.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:40 +0000 (21:10 +0000)] 
Always include locale.h to get LC_ALL declaration.

For some reason locale.h was only included in !wxUSE_STD_STRING case but we
actually always need it as we use LC_ALL in this file and at least in Sun CC
build it wasn't included from anywhere else so include it from here to fix the
build.

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

13 years agoRemove unused wxIFFDecoder::picptr member variable.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:38 +0000 (21:10 +0000)] 
Remove unused wxIFFDecoder::picptr member variable.

This variable was apparently unused and a local variable with the same name
was used instead, resulting in Sun CC warnings about variable shadowing.

Just remove the unused member variable to fix this.

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

13 years agoNo real changes, just remove an extra semicolon.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:35 +0000 (21:10 +0000)] 
No real changes, just remove an extra semicolon.

DECLARE_DYNAMIC_CLASS() shouldn't be followed by a semicolon and Sun CC warns
about it, so fix this by removing it.

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

13 years agoReplace remaining occurrences of _T() with wxT().
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:33 +0000 (21:10 +0000)] 
Replace remaining occurrences of _T() with wxT().

Use wxT() everywhere for consistency and to fix compilation with Sun CC for
which _T() is not defined as it clashes with a symbol with the same name in
standard headers.

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

13 years agoNo real changes, just remove trailing commas from enums.
Vadim Zeitlin [Thu, 27 Oct 2011 21:10:30 +0000 (21:10 +0000)] 
No real changes, just remove trailing commas from enums.

These commas are not allowed by standard C++ and Sun CC warns about them (and
some other compilers, e.g. HP aCC, even give errors for them).

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

13 years agoAdd WX_FIND_LIB() function to simplify testing for libraries in configure.
Vadim Zeitlin [Wed, 26 Oct 2011 23:20:19 +0000 (23:20 +0000)] 
Add WX_FIND_LIB() function to simplify testing for libraries in configure.

No real changes in behaviour but the new WX_FIND_LIB() function can now be
used to test for any library.

Closes #13375.

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

13 years agoNo changes, just fix some typos in acinclude.m4 comments.
Vadim Zeitlin [Wed, 26 Oct 2011 23:20:13 +0000 (23:20 +0000)] 
No changes, just fix some typos in acinclude.m4 comments.

See #13375.

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

13 years agoUse AC_LANG_SOURCE and add missing quoting to configure.
Vadim Zeitlin [Wed, 26 Oct 2011 23:20:10 +0000 (23:20 +0000)] 
Use AC_LANG_SOURCE and add missing quoting to configure.

This fixes some of the warnings from autoconf 2.68 while still remaining
compatible with 2.61.

Closes #13591.

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

13 years agoFix incorrect handling of ItemsAdded() in wxDataViewCtrl.
Václav Slavík [Wed, 26 Oct 2011 17:10:27 +0000 (17:10 +0000)] 
Fix incorrect handling of ItemsAdded() in wxDataViewCtrl.

When adding items to the model in bulk and then calling ItemsAdded(),
internal representation in both the generic and GTK+ versions wasn't
updated correctly if the order of the notifications was such that an
item would be inserted after other new, but not yet inserted, items.

Fixes bug #13587.

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

13 years agoInterface tweaks and fixes for Phoenix
Robin Dunn [Wed, 26 Oct 2011 05:52:53 +0000 (05:52 +0000)] 
Interface tweaks and fixes for Phoenix

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

13 years agoWork around a multiple inheritance ambiguity
Robin Dunn [Wed, 26 Oct 2011 05:39:18 +0000 (05:39 +0000)] 
Work around a multiple inheritance ambiguity

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

13 years agomove declaration into cocoa part
Stefan Csomor [Wed, 26 Oct 2011 05:38:24 +0000 (05:38 +0000)] 
move declaration into cocoa part

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

13 years agodeactivate wxUSE_TIMEPICKCTRL for iphone
Stefan Csomor [Tue, 25 Oct 2011 19:29:12 +0000 (19:29 +0000)] 
deactivate wxUSE_TIMEPICKCTRL for iphone

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

13 years agofiles added
Stefan Csomor [Tue, 25 Oct 2011 18:44:53 +0000 (18:44 +0000)] 
files added

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

13 years agofiles added
Stefan Csomor [Tue, 25 Oct 2011 18:31:02 +0000 (18:31 +0000)] 
files added

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

13 years agofiles added
Stefan Csomor [Tue, 25 Oct 2011 18:04:24 +0000 (18:04 +0000)] 
files added

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

13 years agofix wxMDIChildFrame after r69390 and r69468, TLW realization code should not be calle...
Paul Cornett [Tue, 25 Oct 2011 16:56:57 +0000 (16:56 +0000)] 
fix wxMDIChildFrame after r69390 and r69468, TLW realization code should not be called, fixes #13593

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

13 years agopanelg removal
Stefan Csomor [Tue, 25 Oct 2011 16:55:36 +0000 (16:55 +0000)] 
panelg removal

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

13 years agofixing reentrancy problem under iOS 5
Stefan Csomor [Tue, 25 Oct 2011 11:52:02 +0000 (11:52 +0000)] 
fixing reentrancy problem under iOS 5

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

13 years agofixing iPhone build
Stefan Csomor [Tue, 25 Oct 2011 11:51:36 +0000 (11:51 +0000)] 
fixing iPhone build

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

13 years agofixing iPhone build
Stefan Csomor [Tue, 25 Oct 2011 11:51:08 +0000 (11:51 +0000)] 
fixing iPhone build

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

13 years agoavoid GDK warning "drawable is not a pixmap or window"
Paul Cornett [Tue, 25 Oct 2011 06:00:24 +0000 (06:00 +0000)] 
avoid GDK warning "drawable is not a pixmap or window"

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

13 years agoavoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not...
Paul Cornett [Tue, 25 Oct 2011 05:12:14 +0000 (05:12 +0000)] 
avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not mapped"
whatever problem this hack was supposed to solve, this was not the way to fix it

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

13 years agorevert (presumably unintentional) change from r59562, which caused auto-scroll sample...
Paul Cornett [Sun, 23 Oct 2011 18:03:20 +0000 (18:03 +0000)] 
revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years

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

13 years agoFix for indeterminate attribute specification
Julian Smart [Sat, 22 Oct 2011 13:49:00 +0000 (13:49 +0000)] 
Fix for indeterminate attribute specification

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

13 years agoApplied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags
Julian Smart [Sat, 22 Oct 2011 13:19:40 +0000 (13:19 +0000)] 
Applied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags

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

13 years agoAllow user to select indeterminate state for font attributes
Julian Smart [Sat, 22 Oct 2011 13:08:00 +0000 (13:08 +0000)] 
Allow user to select indeterminate state for font attributes

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

13 years agoAdd missing styles and flags, and specify pure virtuals that are implemented
Robin Dunn [Sat, 22 Oct 2011 02:31:03 +0000 (02:31 +0000)] 
Add missing styles and flags, and specify pure virtuals that are implemented

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

13 years agoAdd the getters
Robin Dunn [Fri, 21 Oct 2011 18:34:20 +0000 (18:34 +0000)] 
Add the getters

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

13 years agoIt's not an array of pointers to dashes, but rather an array of dash values
Robin Dunn [Fri, 21 Oct 2011 18:33:51 +0000 (18:33 +0000)] 
It's not an array of pointers to dashes, but rather an array of dash values

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

13 years agoDocument wxDataViewModelNotifier callbacks return values.
Václav Slavík [Fri, 21 Oct 2011 16:51:00 +0000 (16:51 +0000)] 
Document wxDataViewModelNotifier callbacks return values.

It doesn't make sense to return anything other than true here, as
failure from one of several notifiers cannot be handled sanely, so just
document that.

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

13 years agoUse the new wxDataViewRenderer activation API in wxTreeListCtrl.
Václav Slavík [Fri, 21 Oct 2011 16:34:35 +0000 (16:34 +0000)] 
Use the new wxDataViewRenderer activation API in wxTreeListCtrl.

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

13 years agoMove wxDataViewCustomRendererBase::ActivateCell() to datavcmn.cpp.
Václav Slavík [Fri, 21 Oct 2011 16:34:32 +0000 (16:34 +0000)] 
Move wxDataViewCustomRendererBase::ActivateCell() to datavcmn.cpp.

It triggered deprecation warnings in user code when it was inline.

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

13 years agoInterface fixes for Phoenix
Robin Dunn [Fri, 21 Oct 2011 07:56:01 +0000 (07:56 +0000)] 
Interface fixes for Phoenix

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

13 years agoDirty hack to allow generic wxDatePickerCtrl to compile under MSW.
Vadim Zeitlin [Thu, 20 Oct 2011 16:45:48 +0000 (16:45 +0000)] 
Dirty hack to allow generic wxDatePickerCtrl to compile under MSW.

Don't make wxDateTimePickerCtrl methods pure virtual in its MSW-specific
version as the generic wx{Date,Time}PickerCtrl implementations not using these
methods also inherit from it currently. This is wrong and would need to be
fixed properly later but for now this hack at least allows the generic classes
to compile and, apparently, work under MSW again.

Remove the equally dirty hack used in the generic wxTimePickerCtrl to allow it
to compile which is not needed any more because this one replaces it.

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

13 years agoFix wxRichToolTip compilation under MSW without PCH and recent SDK headers.
Vadim Zeitlin [Thu, 20 Oct 2011 16:20:19 +0000 (16:20 +0000)] 
Fix wxRichToolTip compilation under MSW without PCH and recent SDK headers.

Include the headers normally included from wx/wxprec.h.

Also define the stuff missing from the headers of some compilers (notably
MinGW but probably also VC6) ourselves.

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

13 years agoAdd "checked" property for toolbar tool elements in XRC.
Vadim Zeitlin [Thu, 20 Oct 2011 16:10:35 +0000 (16:10 +0000)] 
Add "checked" property for toolbar tool elements in XRC.

Allow toolbar tools to be created in checked (or toggled) state in XRC, just
as the menu items can already be created checked.

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

13 years agoThe new wxImage related gaphics context code uses some new Cairo APIs, add the code...
Robin Dunn [Thu, 20 Oct 2011 04:58:00 +0000 (04:58 +0000)] 
The new wxImage related gaphics context code uses some new Cairo APIs, add the code needed when loading them dynamically.

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

13 years agoDelegate wxGraphicsBitmap::ConvertToImage to the renderer so we do not end up with...
Robin Dunn [Thu, 20 Oct 2011 04:49:12 +0000 (04:49 +0000)] 
Delegate wxGraphicsBitmap::ConvertToImage to the renderer so we do not end up with more than one definition of the method when building with both the GDI+ GC and the Cairo GC enabled at the same time.

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

13 years agoFix PCH-less compilation of wx/richtooltip.h too.
Vadim Zeitlin [Wed, 19 Oct 2011 21:53:10 +0000 (21:53 +0000)] 
Fix PCH-less compilation of wx/richtooltip.h too.

We need to include the full wxColour declaration instead of just forward
declaring it as we use its ctor for a default value of a parameter.

Also include wx/defs.h to ensure that wxUSE_RICHTOOLTIP is defined before
testing it.

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

13 years agoCleanup of wxDataViewCtrl cell activation code.
Václav Slavík [Wed, 19 Oct 2011 16:20:17 +0000 (16:20 +0000)] 
Cleanup of wxDataViewCtrl cell activation code.

Fix confusion of what cell activation is and inconsistence with native
handling in GTK+. Document the distinction between activating (~
editing) a cell and activating (double-clicking) the whole item.

Deprecate wxDataViewCustomRenderer::LeftClick() and Activate() methods,
replace them with single ActivateCell() that is called for both kinds of
activation.

Fix implementations so that ActivateCell() is not called on
double-click, when it shouldn't, and vice versa: don't send
wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED for cell activation.

Partially reverts r67099 -- restores old 2.9 signatures of compatibility
LeftClick() and Activate() methods.

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

13 years agoMove InitMouseEvent<T>() to wx/gtk/private/event.h.
Václav Slavík [Wed, 19 Oct 2011 16:20:10 +0000 (16:20 +0000)] 
Move InitMouseEvent<T>() to wx/gtk/private/event.h.

It is needed in wxDataViewCtrl now too, in addition to wxWindow.

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

13 years agoUse wxDatePickerCtrl in wxDataViewDateRenderer.
Václav Slavík [Wed, 19 Oct 2011 16:20:06 +0000 (16:20 +0000)] 
Use wxDatePickerCtrl in wxDataViewDateRenderer.

Inline editor is more in line with the behavior of other editors,
requiring double click to edit values was unexpected.

Also merge the two almost-but-not-quite identical implementations in
generic and GTK+ versions.

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

13 years agoAllow using wxCompositeWindow<T> as wxDataViewCtrl inline editor.
Václav Slavík [Wed, 19 Oct 2011 16:20:01 +0000 (16:20 +0000)] 
Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor.

wxDVC inline editing code attaches some event handlers to the editor
control; most importantly, it watches for Enter key and for focus
changes. If the editor control is a composite window, these events occur
in a sub control and never reach wxDVC code.

Fix this by forwarding events to the main window of the composite
control. Only events required by wxDVC are implemented for now.

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

13 years agoFix NULL window argument to wxEVT_KILL_FOCUS when creating a TLW.
Václav Slavík [Wed, 19 Oct 2011 16:19:58 +0000 (16:19 +0000)] 
Fix NULL window argument to wxEVT_KILL_FOCUS when creating a TLW.

wxTopLevelWindowMSW::CreateDialog first moved and resized the newly
created window and only then called SubclassWin(). Because native focus
change occurred when moving the window, HWND->wxWindow association
wasn't yet filled in and wxFindWinFromHandle() would return NULL.

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

13 years agoSend wxEVT_CREATE and do other post-realization initialization even if the widget...
Václav Slavík [Wed, 19 Oct 2011 16:19:55 +0000 (16:19 +0000)] 
Send wxEVT_CREATE and do other post-realization initialization even if the widget was realized early.

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

13 years agoSet wxFocusEvent's window value for wxEVT_KILL_FOCUS in wxGTK.
Václav Slavík [Wed, 19 Oct 2011 16:19:52 +0000 (16:19 +0000)] 
Set wxFocusEvent's window value for wxEVT_KILL_FOCUS in wxGTK.

Note that it is still not set for wxEVT_SET_FOCUS, because it's not
immediately obvious how to obtain the previously focused window from
there. It's still better than always having the window NULL.

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

13 years agoMore fixes for PCH-less compilation.
Vadim Zeitlin [Wed, 19 Oct 2011 10:58:59 +0000 (10:58 +0000)] 
More fixes for PCH-less compilation.

Include declarations for or forward declare more classes.

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

13 years agoFix for PCH-less compilation after wxNonOwnedWindow changes.
Vadim Zeitlin [Tue, 18 Oct 2011 22:59:16 +0000 (22:59 +0000)] 
Fix for PCH-less compilation after wxNonOwnedWindow changes.

Need to include declarations of wx{Memory,Paint}DC classes.

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

13 years agoAdded wxRichToolTip class.
Vadim Zeitlin [Tue, 18 Oct 2011 21:57:02 +0000 (21:57 +0000)] 
Added wxRichToolTip class.

It can be used to show more customizable tooltips than the native wxToolTip
but at the price of using generic implementation in some cases (actually
almost always now, with the exceptions of text control tooltips under MSW).

Extra features include:
 - The balloon-like tooltip form.
 - Possibility to show an icon.
 - Title display in a different form.

More customization could be added later. It should be also possible to fully
implement this class natively under MSW.

Update the dialogs sample to show the rich tooltips in action.

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

13 years agoAdded wxNonOwnedWindow::SetShape(wxGraphicsPath).
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:52 +0000 (21:56 +0000)] 
Added wxNonOwnedWindow::SetShape(wxGraphicsPath).

TODO: Document.

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

13 years agoDocument and test behaviour of wxRegion methods when it is invalid.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:48 +0000 (21:56 +0000)] 
Document and test behaviour of wxRegion methods when it is invalid.

Document which wxRegion methods can and can't be used when the region itself
is invalid.

Apply the minor changes to wxGTK (Xor() didn't do the right thing, Offset()
didn't assert) and wxOSX (Offset() crashed) to make their behaviour consistent
with wxMSW.

Add a (trivial, so far, but to be extended later) wxRegion unit test checking
that the methods do indeed behave as documented.

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

13 years agoFix SetShape() in wxOSX/Cocoa.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:42 +0000 (21:56 +0000)] 
Fix SetShape() in wxOSX/Cocoa.

Explicitly erase the part of the window outside of its shape with a
transparent colour to ensure that it is indeed transparent and not just has
the default solid background.

Closes #13340.

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

13 years agoDon't create a valid wxRegion when using default ctor in wxOSX.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:40 +0000 (21:56 +0000)] 
Don't create a valid wxRegion when using default ctor in wxOSX.

Default constructing a wxRegion created an object that unexpectedly passed
IsOk() test in wxOSX. This was completely unexpected so don't do this and
leave default constructed wxRegion invalid, as in the other ports.

Update DoCombine() to be able to deal with the case of an invalid source
region in a way consistent with the other ports.

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

13 years agoDon't interpret '&' specially in wxTextWrapper.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:36 +0000 (21:56 +0000)] 
Don't interpret '&' specially in wxTextWrapper.

wxTextWrapper is used for the multiline text for which it doesn't make sense
to use mnemonics so don't interpret '&' specially in the text used with it.

Doing this also allows to remove the hack used in wxDialog::CreateTextSizer()
to deal with it that was used so far.

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

13 years agoUse wxWindow::GetClientAreaOrigin() instead of MSW functions.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:34 +0000 (21:56 +0000)] 
Use wxWindow::GetClientAreaOrigin() instead of MSW functions.

::AdjustWindowRectEx() doesn't seem to work correctly for wxPopupWindow and
still offsets the coordinates by the title bar height even if these windows
don't have WS_CAPTION style. Rather than try to work around this, simply use
wxWindow method instead of the Windows function as shape wxRegion offset.

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

13 years agoNo changes, just fix a typo in a header comment.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:32 +0000 (21:56 +0000)] 
No changes, just fix a typo in a header comment.

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

13 years agoNo changes, just fix typo in a comment following an #endif.
Vadim Zeitlin [Tue, 18 Oct 2011 21:56:29 +0000 (21:56 +0000)] 
No changes, just fix typo in a comment following an #endif.

The closing comment used wrong symbol.

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

13 years agoCorrect the direction passed to wxDataObject in wxGTK clipboard code.
Vadim Zeitlin [Tue, 18 Oct 2011 21:54:53 +0000 (21:54 +0000)] 
Correct the direction passed to wxDataObject in wxGTK clipboard code.

We should quert for IsSupportedFormat(format, Set) before calling SetData()
with this format, not for IsSupportedFormat(Get) which is the default and was
used by the code.

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

13 years agoExplicitly use _stati64() with MinGW-W64.
Vadim Zeitlin [Mon, 17 Oct 2011 22:26:13 +0000 (22:26 +0000)] 
Explicitly use _stati64() with MinGW-W64.

Although this compiler provides underscore-less versions of all POSIX
functions, this one only exists in a version with underscore, so use it to fix
compilation with it in ANSI build.

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

13 years agoFix more missing and broken stuff in the interface, for Phoenix
Robin Dunn [Mon, 17 Oct 2011 18:53:28 +0000 (18:53 +0000)] 
Fix more missing and broken stuff in the interface, for Phoenix

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

13 years agosupporting deployment < 10.6 when compiling against 10.7
Stefan Csomor [Sun, 16 Oct 2011 20:57:09 +0000 (20:57 +0000)] 
supporting deployment < 10.6 when compiling against 10.7

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

13 years agoremoving QD dependency
Stefan Csomor [Sun, 16 Oct 2011 19:08:55 +0000 (19:08 +0000)] 
removing QD dependency

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

13 years agoAlign multiline labels correctly in wxMSW owner-drawn buttons.
Vadim Zeitlin [Sun, 16 Oct 2011 17:57:49 +0000 (17:57 +0000)] 
Align multiline labels correctly in wxMSW owner-drawn buttons.

The label wasn't centered correctly in multi-line case.

Closes #13567.

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

13 years agoExport a couple of Carbon functions to allow wxWebView to build correctly. This was...
Steve Lamerton [Sun, 16 Oct 2011 15:59:31 +0000 (15:59 +0000)] 
Export a couple of Carbon functions to allow wxWebView to build correctly. This was already done in the wxWebView branch but got missed in the merge to trunk.

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

13 years agoSet wxDataViewCtrl::m_focusWidget in wxGTK.
Václav Slavík [Sat, 15 Oct 2011 14:19:22 +0000 (14:19 +0000)] 
Set wxDataViewCtrl::m_focusWidget in wxGTK.

The GtkTreeView control that should get the focus in in scrolled window;
the same is already done for wxListBox.

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

13 years agoDon't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().
Václav Slavík [Sat, 15 Oct 2011 14:19:19 +0000 (14:19 +0000)] 
Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().

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

13 years agoDon't use wxMSW version of wxNonOwnedWindow at all under WinCE.
Vadim Zeitlin [Sat, 15 Oct 2011 00:20:56 +0000 (00:20 +0000)] 
Don't use wxMSW version of wxNonOwnedWindow at all under WinCE.

This class becomes completely trivial under WinCE as its functionality
(setting the window shape) can't be implemented under this platform, so just
don't compile it at all there.

This both (slightly) reduces the amount of #if checks and should make the code
(slightly) smaller.

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

13 years agoAdd data members for RGBValue and HSVValue
Robin Dunn [Fri, 14 Oct 2011 01:38:07 +0000 (01:38 +0000)] 
Add data members for RGBValue and HSVValue

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

13 years agofix parent class and constant
Robin Dunn [Fri, 14 Oct 2011 01:37:19 +0000 (01:37 +0000)] 
fix parent class and constant

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

13 years agoDon't assert in wxDateTime::Format("%p") in locales not using AM/PM.
Vadim Zeitlin [Thu, 13 Oct 2011 14:54:29 +0000 (14:54 +0000)] 
Don't assert in wxDateTime::Format("%p") in locales not using AM/PM.

If a locale doesn't use AM/PM strings, strftime() can return an empty string
which does not indicate an error, so don't assert that strftime() failed in
this case.

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

13 years agoThe usual fix for PCH-less compilation after the last commit.
Vadim Zeitlin [Thu, 13 Oct 2011 13:19:42 +0000 (13:19 +0000)] 
The usual fix for PCH-less compilation after the last commit.

Fix wxNonOwnedWindow compilation in wxGTK without PCH.

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

13 years agoImplement SetShape() for wxPopupWindow in wxGTK.
Vadim Zeitlin [Thu, 13 Oct 2011 12:45:56 +0000 (12:45 +0000)] 
Implement SetShape() for wxPopupWindow in wxGTK.

Move SetShape() implementation from wxTopLevelWindow to wxNonOwnedWindow so
that wxPopupWindow, which also inherits from the latter, could use it as well.

This makes it possible to have popup windows with irregular shapes in wxGTK as
well as in wxMSW and wxOSX.

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

13 years agoAvoid an assert when m_dir is empty
Robin Dunn [Thu, 13 Oct 2011 06:40:59 +0000 (06:40 +0000)] 
Avoid an assert when m_dir is empty

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

13 years agoInterface tweaks for Phoenix
Robin Dunn [Thu, 13 Oct 2011 06:40:10 +0000 (06:40 +0000)] 
Interface tweaks for Phoenix

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