]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
11 years agoFix assert when adding items with bitmaps wxBitmapComboBox.
Vadim Zeitlin [Mon, 29 Apr 2013 23:13:24 +0000 (23:13 +0000)] 
Fix assert when adding items with bitmaps wxBitmapComboBox.

The change of r73567 resulted in an assert when adding items with bitmaps to
wxBitmapComboBox without object client data. Fix the code added by this commit
to work for all kinds of client data, including wxClientData_None.

See #14892.

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

11 years agoTrying to blindly fix WebTestCase unit test failure.
Vadim Zeitlin [Mon, 29 Apr 2013 23:00:57 +0000 (23:00 +0000)] 
Trying to blindly fix WebTestCase unit test failure.

Navigate to about:blank initially, not "about:".

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

11 years agoAdd empty paragraph in wxRichTextTable::AddColumns() and AddRows().
Vadim Zeitlin [Mon, 29 Apr 2013 12:54:13 +0000 (12:54 +0000)] 
Add empty paragraph in wxRichTextTable::AddColumns() and AddRows().

Do the same thing in Add{Columns,Rows}() as in CreateTable() to ensure the
proper cell creation.

Closes #15153,

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

11 years agoAdd support for wxICON_AUTH_NEEDED to wxMessageDialog.
Vadim Zeitlin [Mon, 29 Apr 2013 12:54:08 +0000 (12:54 +0000)] 
Add support for wxICON_AUTH_NEEDED to wxMessageDialog.

Allow showing the standard "Authentication needed" dialog in the message boxes
under MSW.

Closes #15121.

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

11 years agoReally fix the problem with caret in wxGrid text editor under MSW.
Vadim Zeitlin [Sun, 28 Apr 2013 18:25:42 +0000 (18:25 +0000)] 
Really fix the problem with caret in wxGrid text editor under MSW.

The problem (see #11681) was due to not allowing the native control handle the
focus loss event. This, in turn, was due to the changes of r58969 which tried
to work around a crash which happened if the grid was destroyed from the code
of one of the user-defined event handlers called during the editor dismissal.

Fix both problems at once by calling event.Skip() in OnKillFocus() to let the
native handler have the event too and postponing the editor dismissal a little
by calling DisableCellEditControl() indirectly from a posted event handler
instead of immediately.

As this reverts the now unnecessary changes of r64646, it closes #15162.

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

11 years agoNo real changes, just make wxGridCellEditor accessors const.
Vadim Zeitlin [Sun, 28 Apr 2013 18:25:39 +0000 (18:25 +0000)] 
No real changes, just make wxGridCellEditor accessors const.

IsCreated(), GetControl() and GetCellAttr() should both be const, so make them
so.

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

11 years agowxOSX: store the menu title when inserting it in the menu bar.
Vadim Zeitlin [Fri, 26 Apr 2013 20:00:52 +0000 (20:00 +0000)] 
wxOSX: store the menu title when inserting it in the menu bar.

We "lost" the menu title if the menu was inserted, and not appended, to the
menu bar, resulting wxMenuBar::GetMenuLabel[Text]() returning empty strings
for it in this case.

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

11 years agoRemove "Windows only" mention from wxTE_PROCESS_ENTER documentation.
Vadim Zeitlin [Fri, 26 Apr 2013 19:41:14 +0000 (19:41 +0000)] 
Remove "Windows only" mention from wxTE_PROCESS_ENTER documentation.

This style works for wxComboBox under GTK and OS X as well.

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

11 years agoTest wxTE_PROCESS_ENTER in the combobox page of the widgets sample.
Vadim Zeitlin [Fri, 26 Apr 2013 19:41:11 +0000 (19:41 +0000)] 
Test wxTE_PROCESS_ENTER in the combobox page of the widgets sample.

Remove the unused "File name" checkbox in this page and put "Process Enter"
one in its place to allow toggling wxTE_PROCESS_ENTER interactively to test
whether it works as expected.

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

11 years agoMinor visual enhancement in the combobox page of the widgets sample.
Vadim Zeitlin [Fri, 26 Apr 2013 19:41:07 +0000 (19:41 +0000)] 
Minor visual enhancement in the combobox page of the widgets sample.

Expand the lower static box to align it with the upper one, otherwise they
look really ugly, especially under Mac.

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

11 years agorevert part of last change, run configure from the builddir or cwd, not from configur...
Robin Dunn [Fri, 26 Apr 2013 16:48:23 +0000 (16:48 +0000)] 
revert part of last change, run configure from the builddir or cwd, not from configure's location.

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

11 years agoAdd wxEVT_DIRCTRL_CHANGED
Robin Dunn [Fri, 26 Apr 2013 06:37:25 +0000 (06:37 +0000)] 
Add wxEVT_DIRCTRL_CHANGED

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

11 years agoChanges needed to help builder.py be more generic and working well with other modules
Robin Dunn [Fri, 26 Apr 2013 06:37:17 +0000 (06:37 +0000)] 
Changes needed to help builder.py be more generic and working well with other modules

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

11 years agoFix generic wxDataViewToggleRenderer hit testing with any alignment.
Vadim Zeitlin [Thu, 25 Apr 2013 13:16:29 +0000 (13:16 +0000)] 
Fix generic wxDataViewToggleRenderer hit testing with any alignment.

This change reverts the changes of r73835 and r73838 to
wxDataViewToggleRenderer::WXActivateCell() and instead fix the bug with mouse
hit testing in this function in the wxDataViewMainWindow::OnMouse() itself.
The problem there was that it offset the coordinates of the event differently
depending on whether the column alignment was set or left as default. Now
always make the coordinates relative to the item (not cell) rectangle for
compatibility with GTK+ native version, which is enough to make the original,
i.e. before the changes of r73835, code work.

See #15144.

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

11 years agoFix compilation-breaking typo in the previous commit.
Vadim Zeitlin [Thu, 25 Apr 2013 12:54:50 +0000 (12:54 +0000)] 
Fix compilation-breaking typo in the previous commit.

s/LoadUrl/LoadURL/

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

11 years agoFix wxWebView test setup failure under OS X.
Vadim Zeitlin [Thu, 25 Apr 2013 12:53:51 +0000 (12:53 +0000)] 
Fix wxWebView test setup failure under OS X.

Call LoadUrl() after associating our custom event handler with the browser
object as otherwise the wxEVT_WEBVIEW_LOADED event could be generated before
we were set up to catch it, resulting in the assertion failure inside
ENSURE_LOADED.

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

11 years agoFix wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK event type name.
Vadim Zeitlin [Thu, 25 Apr 2013 11:56:55 +0000 (11:56 +0000)] 
Fix wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK event type name.

Fix incorrect conflict resolution between the changes of r73823 and r73850:
the first renamed wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED to
wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK while the latter renamed it
to wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED. The proper new name is
wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, use it instead.

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

11 years agoProvide shorter synonyms for wxEVT_XXX constants.
Vadim Zeitlin [Thu, 25 Apr 2013 10:11:03 +0000 (10:11 +0000)] 
Provide shorter synonyms for wxEVT_XXX constants.

Use the same short names as are used by the event table macros for the event
type constants themselves. This makes them much more comfortable to use, e.g.
Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED).

The old long names are still kept for backwards compatibility and shouldn't be
removed as it doesn't really cost anything to continue providing them, but all
new event types should only use the short versions.

Closes #10661.

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

11 years agoSmall fixes after wxHtmlTagHandler::GetParser() addition.
Vadim Zeitlin [Thu, 25 Apr 2013 09:35:38 +0000 (09:35 +0000)] 
Small fixes after wxHtmlTagHandler::GetParser() addition.

Amend the changes of r73839:

- Don't use covariant return type for wxHtmlWinTagHandler::GetParser() as
  VC6, which we still support, doesn't like it. Besides, this seems
  unnecessary.

- Don't make GetParser() virtual at all as this doesn't appear to be necessary
  neither.

- Add "@since 2.9.5" to the documentation of the new method.

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

11 years agoFix showing back hidden columns and rows in wxGrid.
Vadim Zeitlin [Wed, 24 Apr 2013 09:01:57 +0000 (09:01 +0000)] 
Fix showing back hidden columns and rows in wxGrid.

While we don't support auto-sizing of the hidden columns and rows, we need to
still show them back when SetColSize() or SetRowSize() is called with -1
(a.k.a. wxGRID_AUTOSIZE) argument.

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

11 years agoAdd documentation for some additional cell types so they can be seen in Phoenix
Robin Dunn [Wed, 24 Apr 2013 02:40:21 +0000 (02:40 +0000)] 
Add documentation for some additional cell types so they can be seen in Phoenix

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

11 years agoAdd ctor for wxHtmlWinTagHandler
Robin Dunn [Wed, 24 Apr 2013 02:40:11 +0000 (02:40 +0000)] 
Add ctor for wxHtmlWinTagHandler

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

11 years agoAdd GetParser methods for the tag handlers
Robin Dunn [Wed, 24 Apr 2013 02:40:02 +0000 (02:40 +0000)] 
Add GetParser methods for the tag handlers

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

11 years agoReally fix hit testing in the generic wxDataViewToggleRenderer.
Vadim Zeitlin [Tue, 23 Apr 2013 11:56:55 +0000 (11:56 +0000)] 
Really fix hit testing in the generic wxDataViewToggleRenderer.

The changes of r73835 fixed hit testing in horizontal direction but broke it
in the vertical one as the computed checkbox rectangle was not relative to the
cell rectangle as it should have been. Do fix this now.

See #15144.

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

11 years agoAdd wxSocketBase::GetSocket().
Vadim Zeitlin [Mon, 22 Apr 2013 10:45:30 +0000 (10:45 +0000)] 
Add wxSocketBase::GetSocket().

Provide direct access to the underlying socket descriptor.

Closes #8829.

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

11 years agoAdd test for correct short/long file names in wxDir.
Vadim Zeitlin [Mon, 22 Apr 2013 00:32:55 +0000 (00:32 +0000)] 
Add test for correct short/long file names in wxDir.

Verify that enumerating the files using the pattern *.foo doesn't match
*.foo.bar files, as it used to do under MSW.

See #3432.

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

11 years agoFix hit testing in generic wxDataViewToggleRenderer.
Vadim Zeitlin [Sun, 21 Apr 2013 17:39:43 +0000 (17:39 +0000)] 
Fix hit testing in generic wxDataViewToggleRenderer.

Handle clicks on the checkboxes in generic wxDataViewCtrl correctly by taking
into account that the checkbox rectangle is centred inside the total cell
rectangle.

Closes #15144.

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

11 years agoReset sorting column in generic wxDataViewCtrl properly.
Vadim Zeitlin [Sun, 21 Apr 2013 17:18:44 +0000 (17:18 +0000)] 
Reset sorting column in generic wxDataViewCtrl properly.

We could keep using the column previously used for sorting even after
UnsetAsSortKey() was called on it. Ensure that this doesn't happen by
resetting the owner wxDataViewCtrl sort column index too.

Closes #15160.

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

11 years agoAdd wxTextEntryDialog::SetMaxLength().
Vadim Zeitlin [Sat, 20 Apr 2013 22:13:33 +0000 (22:13 +0000)] 
Add wxTextEntryDialog::SetMaxLength().

Allow restricting the maximal number of characters that can be entered in
wxTextEntryDialog.

Closes #15158.

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

11 years agoStandardize on using "Added" instead of "Add" in the change log.
Vadim Zeitlin [Sat, 20 Apr 2013 22:13:30 +0000 (22:13 +0000)] 
Standardize on using "Added" instead of "Add" in the change log.

As all the other verbs were used in the infinitive and not past tense, do the
same thing for this one too, especially as we already had a mix of both forms.

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

11 years agoEVT_TREE_STATE_IMAGE_CLICK is not Windows-only any more.
Vadim Zeitlin [Fri, 19 Apr 2013 10:47:16 +0000 (10:47 +0000)] 
EVT_TREE_STATE_IMAGE_CLICK is not Windows-only any more.

State images in wxTreeCtrl are now supported under all platforms.

See #9591.

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

11 years agoRemove "ED" suffix from EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED.
Vadim Zeitlin [Wed, 17 Apr 2013 11:45:07 +0000 (11:45 +0000)] 
Remove "ED" suffix from EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED.

The naming of this macro was inconsistent with other similar macros in
wxListCtrl and wxTreeCtrl and even EVT_DATAVIEW_COLUMN_HEADER_CLICK in
wxDataViewCtrl itself. Moreover, it was even documented under the wrong name
without "ED".

Clear this mess by removing the "ED" suffix while still keeping the old macro
name for compatibility.

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

11 years agoDocument lack of wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK under OS X.
Vadim Zeitlin [Wed, 17 Apr 2013 11:36:38 +0000 (11:36 +0000)] 
Document lack of wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK under OS X.

The native versions don't contain any code to send it currently.

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

11 years agoFix wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the documentation.
Vadim Zeitlin [Wed, 17 Apr 2013 11:31:50 +0000 (11:31 +0000)] 
Fix wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the documentation.

Unlike the corresponding event table macro, it doesn't have "ED" suffix.

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

11 years agoAdd missing interface items for Phoenix
Robin Dunn [Wed, 17 Apr 2013 02:50:32 +0000 (02:50 +0000)] 
Add missing interface items for Phoenix

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

11 years agoDocument that wxPoint(wxRealPoint) ctor truncates, not rounds.
Vadim Zeitlin [Tue, 16 Apr 2013 19:44:08 +0000 (19:44 +0000)] 
Document that wxPoint(wxRealPoint) ctor truncates, not rounds.

Also give an example showing how to do rounding instead.

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

11 years agoEnsure there is valid context for DrawRectangle
Robin Dunn [Fri, 12 Apr 2013 23:45:15 +0000 (23:45 +0000)] 
Ensure there is valid context for DrawRectangle

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

11 years agoCheck that focused window is non-NULL before using it in wxComboCtrl.
Vadim Zeitlin [Thu, 11 Apr 2013 16:54:41 +0000 (16:54 +0000)] 
Check that focused window is non-NULL before using it in wxComboCtrl.

wxWindow::FindFocus() may return NULL, don't crash by attempting to
dereference the pointer returned by it.

Closes #15146.

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

11 years agoAdd missing t_str() call to fix wxUSE_STL build after r73792.
Vadim Zeitlin [Thu, 11 Apr 2013 16:54:36 +0000 (16:54 +0000)] 
Add missing t_str() call to fix wxUSE_STL build after r73792.

Don't rely on implicit conversion from wxString to wxChar* which is not
available in all builds.

Closes #15145.

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

11 years agoalso check for the SDK in subtrees used by newer XCodes
Robin Dunn [Wed, 10 Apr 2013 23:06:21 +0000 (23:06 +0000)] 
also check for the SDK in subtrees used by newer XCodes

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

11 years agoAdded chainable wxWizardPageSimple::Chain() overload.
Vadim Zeitlin [Wed, 10 Apr 2013 12:12:57 +0000 (12:12 +0000)] 
Added chainable wxWizardPageSimple::Chain() overload.

Add the simplest and most fool proof of chaining the pages in static wizards:
just chain several calls to the new, non-static, wxWizardPageSimple::Chain()
overload.

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

11 years agoCut is documented in wxTextEntry now
Robin Dunn [Wed, 10 Apr 2013 00:51:50 +0000 (00:51 +0000)] 
Cut is documented in wxTextEntry now

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

11 years agoAdd missing doc for Cut()
Robin Dunn [Wed, 10 Apr 2013 00:01:52 +0000 (00:01 +0000)] 
Add missing doc for Cut()

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

11 years agoremoving codewarrior support
Stefan Csomor [Tue, 9 Apr 2013 06:52:03 +0000 (06:52 +0000)] 
removing codewarrior support

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

11 years agoUse API_VERSION_NUMBER for debug help API version check.
Vadim Zeitlin [Mon, 8 Apr 2013 14:15:35 +0000 (14:15 +0000)] 
Use API_VERSION_NUMBER for debug help API version check.

This symbol is not documented but seems to be defined in all the existing
versions of imagehlp.h, so use it instead of relying on a hack with checkng
whether DBHLPAPI symbol is defined.

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

11 years agoSupport Unicode module names in wxDynamicLibrary::MSWGetModuleHandle().
Vadim Zeitlin [Mon, 8 Apr 2013 14:15:31 +0000 (14:15 +0000)] 
Support Unicode module names in wxDynamicLibrary::MSWGetModuleHandle().

The module names are not necessarily ASCII strings, so use wxString instead of
"char*" and W-version of GetModuleHandle() if appropriate.

See #15138.

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

11 years agoRemove rightarr.cur which doesn't exist any more from files list.
Vadim Zeitlin [Mon, 8 Apr 2013 10:03:55 +0000 (10:03 +0000)] 
Remove rightarr.cur which doesn't exist any more from files list.

This should have been part of r73491, see #14991.

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

11 years agoCheck that files returned from wxDir::FindXXX() match the filter.
Vadim Zeitlin [Mon, 8 Apr 2013 10:03:48 +0000 (10:03 +0000)] 
Check that files returned from wxDir::FindXXX() match the filter.

Native Windows functions used by wxDir check the filter against both the short
and the long name resulting in unexpected results, e.g. searching for
"foo.baz" would find "foo.bazaar".

Fix this by explicitly rechecking that we have a valid match ourselves.

Closes #3432.

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

11 years agoAllow to customize wxGrid column auto-sizing.
Vadim Zeitlin [Fri, 5 Apr 2013 21:11:59 +0000 (21:11 +0000)] 
Allow to customize wxGrid column auto-sizing.

By default the columns are auto-sized to fit just their label, which is fast
but not very user-friendly. Allow customizing this behaviour by handling the
(new) wxEVT_GRID_COL_AUTO_SIZE event.

Closes #15077.

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

11 years agoUse LF eol-style svn property for all Unix-only files.
Vadim Zeitlin [Fri, 5 Apr 2013 20:11:34 +0000 (20:11 +0000)] 
Use LF eol-style svn property for all Unix-only files.

At least with some of them (e.g. tiffconf.h) using native EOLs under Windows
confuses MinGW/MSYS and results in build failures. As all these files are only
used under Unix or in Unix-like environments, use Unix EOLs for them
everywhere.

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

11 years agoBasque translations update from Xabier Aramendi.
Vadim Zeitlin [Fri, 5 Apr 2013 20:02:36 +0000 (20:02 +0000)] 
Basque translations update from Xabier Aramendi.

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

11 years agoDon't reset URL if applying character style
Julian Smart [Fri, 5 Apr 2013 15:54:49 +0000 (15:54 +0000)] 
Don't reset URL if applying character style

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

11 years ago/dev/null may not exist, be smarter about it
Robin Dunn [Fri, 5 Apr 2013 04:01:27 +0000 (04:01 +0000)] 
/dev/null may not exist, be smarter about it

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

11 years agoFix spurious errors about removing nonexistent files in wxrc.
Václav Slavík [Thu, 4 Apr 2013 16:15:13 +0000 (16:15 +0000)] 
Fix spurious errors about removing nonexistent files in wxrc.

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

11 years agoDocument wxTextEntryDialog::SetTextValidator().
Vadim Zeitlin [Thu, 4 Apr 2013 00:11:03 +0000 (00:11 +0000)] 
Document wxTextEntryDialog::SetTextValidator().

These methods exist since r15925 but were never documented.

See #5420.

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

11 years agoFix wxTextEntryDialog::GetValue() when using SetTextValidator().
Vadim Zeitlin [Thu, 4 Apr 2013 00:11:00 +0000 (00:11 +0000)] 
Fix wxTextEntryDialog::GetValue() when using SetTextValidator().

Associating a validator with the text control in wxTextEntryDialog resulted in
GetValue() always returning an empty string which was completely unexpected.

Fix this by setting the value string manually to avoid interfering with any
possibly used validators.

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

11 years agoUse the same wxDEBUG_LEVEL settings for Xcode projects as elsewhere.
Václav Slavík [Wed, 3 Apr 2013 18:13:30 +0000 (18:13 +0000)] 
Use the same wxDEBUG_LEVEL settings for Xcode projects as elsewhere.

Use the same debug flag default settings in the build/osx Xcode projects
as are used by all other makefiles and projects - that is,
wxDEBUG_LEVEL=1.  This is done automatically by the headers, no need to
define any extra symbols when building.

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

11 years agoAdd wxRect::SetPosition
Robin Dunn [Wed, 3 Apr 2013 02:08:39 +0000 (02:08 +0000)] 
Add wxRect::SetPosition

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

11 years agoDon't use GetStandardCmdLineOptions() under non-Unix platforms.
Vadim Zeitlin [Mon, 1 Apr 2013 23:59:37 +0000 (23:59 +0000)] 
Don't use GetStandardCmdLineOptions() under non-Unix platforms.

The GTK+ standard options are only available under Unix.

Closes #15131.

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

11 years agoCorrected code that re-encodes the book title.
Julian Smart [Mon, 1 Apr 2013 19:38:54 +0000 (19:38 +0000)] 
Corrected code that re-encodes the book title.

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

11 years agoMake wxToolBar styles consistent and add wxTB_DEFAULT_STYLE.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:27 +0000 (01:12 +0000)] 
Make wxToolBar styles consistent and add wxTB_DEFAULT_STYLE.

Don't include wxBORDER_NONE in neither wxToolBar ctor and Create() nor
wxFrame::CreateToolBar() flags parameter, override GetDefaultBorder() in
wxToolBar itself instead to use the border style appropriate for the current
platform by default. This has the same effect -- the default border style is
used unless another one is explicitly specified -- but is more clear and
consistent.

Also add wxTB_DEFAULT_STYLE for consistency with the other classes.

Closes #15037.

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

11 years agoRemove wxTextCtrl::OnEnabled() hack from wxGTK.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:21 +0000 (01:12 +0000)] 
Remove wxTextCtrl::OnEnabled() hack from wxGTK.

Don't change the background colour when the control is being enabled or
disabled, it doesn't seem necessary and it's unclear why was this added by
r10179 in the first place. It does result in problems however as it could
somehow make the selection of wxTextCtrl invisible when it lost focus and so
fixes a serious usability problem which happened to all wxTextCtrls for which
a wxEVT_UPDATE_UI handler using wxUpdateUIEvent::Enable() was defined.

Closes #14898.

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

11 years agoExplicitly trigger wxNotebook layout in wxMSW to ensure it is correct.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:15 +0000 (01:12 +0000)] 
Explicitly trigger wxNotebook layout in wxMSW to ensure it is correct.

Due to an apparent bug in the native control implementation, space could be
reserved for the second row of tabs even when the notebook was big enough to
need it. Sending it an extra WM_SIZE seems to be enough to fix this.

Closes #1792.

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

11 years agoAdded wxSearchCtrl to list of currently non-native wxGTK controls.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:12 +0000 (01:12 +0000)] 
Added wxSearchCtrl to list of currently non-native wxGTK controls.

It could be implemented using the native GtkSearchEntry in GTK+ 3.

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

11 years agoFix the style value in wxWizard::Create() documentation.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:08 +0000 (01:12 +0000)] 
Fix the style value in wxWizard::Create() documentation.

Somehow the raw value was used instead of the symbolic constant.

Closes #15130.

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

11 years agoFix the header to be included in wxStringTokenizer documentation.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:04 +0000 (01:12 +0000)] 
Fix the header to be included in wxStringTokenizer documentation.

See #15130.

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

11 years agoDocument wxDateTime arithmetic operators.
Vadim Zeitlin [Sun, 31 Mar 2013 01:12:00 +0000 (01:12 +0000)] 
Document wxDateTime arithmetic operators.

wxDateTime::operator+() and operator-() were not documented, do it now.

Also fix the return value of wxDateTime::Add().

See #15130.

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

11 years agoDocument wxDataView{List,Tree}Ctrl as only available since 2.9.0.
Vadim Zeitlin [Sun, 31 Mar 2013 01:11:56 +0000 (01:11 +0000)] 
Document wxDataView{List,Tree}Ctrl as only available since 2.9.0.

See #15130.

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

11 years agoRemove wx{File,Dir}PickerCtrl::CheckPath() declaration.
Vadim Zeitlin [Sun, 31 Mar 2013 01:11:53 +0000 (01:11 +0000)] 
Remove wx{File,Dir}PickerCtrl::CheckPath() declaration.

This function wasn't defined, so don't declare it neither.

This should have been part of r72475.

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

11 years agoRemove remaining occurrences of wxUSE_XPM_IN_MSW.
Vadim Zeitlin [Sun, 31 Mar 2013 01:11:50 +0000 (01:11 +0000)] 
Remove remaining occurrences of wxUSE_XPM_IN_MSW.

This symbol is not used since a very long time as XPM support is now always
available in wxMSW and most of its occurrences were removed almost 10 years
ago, just remove the remaining ones too.

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

11 years agoAdd a comment with links to proper command line parsing rules.
Vadim Zeitlin [Sun, 31 Mar 2013 01:11:47 +0000 (01:11 +0000)] 
Add a comment with links to proper command line parsing rules.

No real changes, just added a comment with links to the descriptions of the
correct rules that we should use in ConvertStringToArgs().

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

11 years agoFix program not shutting down when using Ubuntu app menu.
Vadim Zeitlin [Fri, 29 Mar 2013 19:53:26 +0000 (19:53 +0000)] 
Fix program not shutting down when using Ubuntu app menu.

Ensure that an idle event is generated after a menu event even when the latter
comes, via DBUS, from the out of process app menu and not from a real GTK menu.

Closes #15122.

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

11 years agoMention the relationship of wxDocument::Activate() with Raise().
Vadim Zeitlin [Fri, 29 Mar 2013 19:53:22 +0000 (19:53 +0000)] 
Mention the relationship of wxDocument::Activate() with Raise().

Also provide an example of a custom overridden Raise().

See #15120.

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

11 years agoMinor documentation corrections in wxBookCtrlBase.
Vadim Zeitlin [Fri, 29 Mar 2013 19:53:18 +0000 (19:53 +0000)] 
Minor documentation corrections in wxBookCtrlBase.

Use the correct preposition in "set selection to the given page".

See #15125.

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

11 years agoAdded wxBookCtrlBase::FindPage().
Vadim Zeitlin [Fri, 29 Mar 2013 19:53:13 +0000 (19:53 +0000)] 
Added wxBookCtrlBase::FindPage().

Add helper function to find the index of the given page.

Closes #15125.

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

11 years agoFix assert when constructing invalid wxGBSpan inside wxWidgets itself.
Vadim Zeitlin [Wed, 27 Mar 2013 23:10:25 +0000 (23:10 +0000)] 
Fix assert when constructing invalid wxGBSpan inside wxWidgets itself.

Various wxGridBagSizer methods returning wxGBSpan asserted when trying to
construct an invalid wxGBSpan as its components must now (since r66964) be
positive.

Fix this by adding a special new method to wxGBSpan for constructing such
invalid spans and use it now.

Closes #15124.

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

11 years agoAdd wxDocManager::FindDocumentByPath() helper.
Vadim Zeitlin [Wed, 27 Mar 2013 23:10:20 +0000 (23:10 +0000)] 
Add wxDocManager::FindDocumentByPath() helper.

Simply refactor the code which already existed inside wxDocManager in a new
public method.

Closes #15126.

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

11 years agoFix display of empty wxStaticBoxSizers.
Vadim Zeitlin [Wed, 27 Mar 2013 23:10:15 +0000 (23:10 +0000)] 
Fix display of empty wxStaticBoxSizers.

wxStaticBoxSizer should be considered shown if its static box is shown, even
if it has no elements (or all of them are hidden).

Closes #14698.

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

11 years agoAdd wxDocument::Activate() method.
Vadim Zeitlin [Tue, 26 Mar 2013 11:00:59 +0000 (11:00 +0000)] 
Add wxDocument::Activate() method.

Make activating the first (and, in the vast majority of cases, the only) view
of the document easier.

Closes #15120.

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

11 years agoInitialize Unicode code when generating wxEVT_CHAR_HOOK in wxMSW.
Vadim Zeitlin [Tue, 26 Mar 2013 11:00:24 +0000 (11:00 +0000)] 
Initialize Unicode code when generating wxEVT_CHAR_HOOK in wxMSW.

Use the fixed value of 0 for the keys without Unicode equivalent instead of
whatever junk was there in the uninitialized variable.

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

11 years agoUse WXK_DELETE as Unicode key code for VK_DELETE in wxMSW.
Vadim Zeitlin [Tue, 26 Mar 2013 11:00:20 +0000 (11:00 +0000)] 
Use WXK_DELETE as Unicode key code for VK_DELETE in wxMSW.

U+007F is a Unicode character so we should set Unicode key code to this value
for VK_DELETE presses. This also makes wxMSW consistent with wxGTK.

Closes #3458.

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

11 years agoUse wxCONTROL_PRESSED instead of wxCONTROL_SELECTED in wxOSX renderer code.
Vadim Zeitlin [Tue, 26 Mar 2013 00:59:27 +0000 (00:59 +0000)] 
Use wxCONTROL_PRESSED instead of wxCONTROL_SELECTED in wxOSX renderer code.

wxCONTROL_SELECTED is supposed to only apply to the selected items in a
listbox and similar cases whereas the buttons use wxCONTROL_PRESSED flag to
indicate whether they are toggled.

Correct the code in wxRendererMac to use the latter, for consistency with the
other platforms.

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

11 years agoNo changes, just remove wxGtkIMData forward declarations.
Vadim Zeitlin [Tue, 26 Mar 2013 00:59:22 +0000 (00:59 +0000)] 
No changes, just remove wxGtkIMData forward declarations.

This class doesn't exist any more, so clean up references to it.

See #3158.

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

11 years agofix GTK3 build
Paul Cornett [Fri, 22 Mar 2013 17:03:12 +0000 (17:03 +0000)] 
fix GTK3 build

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

11 years agoAdd GdkEventKey declaration fix PCH-less build.
Vadim Zeitlin [Fri, 22 Mar 2013 14:13:02 +0000 (14:13 +0000)] 
Add GdkEventKey declaration fix PCH-less build.

Declare it in wx/gtk/textentry.h too, not only wx/gtk/window.h.

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

11 years agoAdd IM and full wxEVT_CHAR support to wxTextCtrl and wxComboBox in wxGTK.
Vadim Zeitlin [Thu, 21 Mar 2013 22:37:09 +0000 (22:37 +0000)] 
Add IM and full wxEVT_CHAR support to wxTextCtrl and wxComboBox in wxGTK.

Generate wxEVT_CHAR events for non-ASCII characters entered in these controls
by intercepting their insert-text signal.

Also try to use GtkEntry/GtkTextView internal IM objects but unsuccessfully so
far.

Closes #3158.

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

11 years agoAllow using either single or multi line wxTextCtrl in keyboard sample.
Vadim Zeitlin [Thu, 21 Mar 2013 22:37:06 +0000 (22:37 +0000)] 
Allow using either single or multi line wxTextCtrl in keyboard sample.

These controls are implemented quite differently in wxGTK, so it's convenient
to be able to test both of them in the sample to check that they both behave
correctly.

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

11 years agoRefactor wxGTK IM-related code to allow future modifications.
Vadim Zeitlin [Thu, 21 Mar 2013 22:37:01 +0000 (22:37 +0000)] 
Refactor wxGTK IM-related code to allow future modifications.

No real changes, just make it possible to use a different IM than the one
allocated in wxWindow for input handling. This will be used in the upcoming
changes to wxTextEntry and the related classes.

See #3158.

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

11 years agoTweak wxGTK keyboard handling to allow accelerators to work again.
Vadim Zeitlin [Thu, 21 Mar 2013 22:36:57 +0000 (22:36 +0000)] 
Tweak wxGTK keyboard handling to allow accelerators to work again.

Accelerators were broken by the changes of r72640 which were done to ensure
that the focused window gets the keyboard event first, before its top level
parent. Fix them now by still passing the events to the focused window first
but also passing them to the parent top level if it hasn't been handled by the
focused child.

Unfortunately this is still not fully compatible with wxMSW because in wxGTK
wxEVT_CHAR handler must skip the event in order to allow the accelerator using
the same key to work, while in wxMSW the accelerator can only be suppressed by
overriding wxWindow::MSWShouldPreProcessMessage(). We will need to make the
two ports behave in the same way when the event is not skipped in the future.

But for now, at least make them both behave correctly when the handler does
skip the event.

Closes #14553.

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

11 years agoUse flat generic status bar by default and add wxSB_SUNKEN.
Vadim Zeitlin [Thu, 21 Mar 2013 22:36:52 +0000 (22:36 +0000)] 
Use flat generic status bar by default and add wxSB_SUNKEN.

GTK+ applications don't use sunken status bars since many years, do don't do
it in wxWidgets neither by default any more. Add wxSB_SUNKEN style that can be
explicitly used if the old appearance is desired.

Closes #15009.

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

11 years agoDisable Unity global menu while native modal dialogs are shown in wxGTK.
Vadim Zeitlin [Thu, 21 Mar 2013 22:36:46 +0000 (22:36 +0000)] 
Disable Unity global menu while native modal dialogs are shown in wxGTK.

We need to use wxOpenModalDialogLocker even with native GTK+ dialogs to
prevent the menu commands from being available while they're shown, so do it
in wxMessageDialog and wxColourDialog which call gtk_dialog_run().

Closes #14823.

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

11 years agoCreate a small helper class for Unity global menu bug workaround.
Vadim Zeitlin [Thu, 21 Mar 2013 22:36:42 +0000 (22:36 +0000)] 
Create a small helper class for Unity global menu bug workaround.

Encapsulate the code temporarily incrementing wxOpenModalDialogsCount in a
small helper class to make it easier to reuse it elsewhere.

See #14823.

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

11 years agoNo changes, just remove an unused line of code.
Vadim Zeitlin [Thu, 21 Mar 2013 22:36:38 +0000 (22:36 +0000)] 
No changes, just remove an unused line of code.

Fix g++ warning about initialized but unused variable in wxRTC code.

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

11 years agoAdd missing space to fix r73681 changes.
Vadim Zeitlin [Tue, 19 Mar 2013 15:43:32 +0000 (15:43 +0000)] 
Add missing space to fix r73681 changes.

We need a space between the command and stderr redirection to avoid the "2"
from being taken as part of the last option on the command line.

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

11 years agoFix WM_UNINITMENUPOPUP missing definition for VC6.
Vadim Zeitlin [Tue, 19 Mar 2013 02:58:33 +0000 (02:58 +0000)] 
Fix WM_UNINITMENUPOPUP missing definition for VC6.

The previous workaround of defining it explicitly if it's not defined was left
in src/msw/frame.cpp while the code using WM_UNINITMENUPOPUP was moved to
src/msw/toplevel.cpp in r73562. Move the fallback definition there too.

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

11 years agoSuppress error output from Unix system information functions.
Vadim Zeitlin [Tue, 19 Mar 2013 02:55:31 +0000 (02:55 +0000)] 
Suppress error output from Unix system information functions.

Redirect stderr to /dev/null in wxGetCommandOutput() to avoid errors from the
shell if the command we're trying to run doesn't exist.

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

11 years agoMake sure include doesn't get overwritten when code regenerated
Julian Smart [Mon, 18 Mar 2013 23:32:13 +0000 (23:32 +0000)] 
Make sure include doesn't get overwritten when code regenerated

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

11 years agofix compilation problem
Robin Dunn [Mon, 18 Mar 2013 20:41:06 +0000 (20:41 +0000)] 
fix compilation problem

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

11 years agoFixed help for symbol picker and style manager dialogs
Julian Smart [Mon, 18 Mar 2013 20:21:11 +0000 (20:21 +0000)] 
Fixed help for symbol picker and style manager dialogs

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

11 years agoAdded control over whether size and position units can be changed, and also size...
Julian Smart [Mon, 18 Mar 2013 12:07:41 +0000 (12:07 +0000)] 
Added control over whether size and position units can be changed, and also size and position checkboxes.

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