]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
12 years agoFix wxGrid::AutoSizeColOrRow() logic for multicells.
Vadim Zeitlin [Sat, 15 Sep 2012 23:17:34 +0000 (23:17 +0000)] 
Fix wxGrid::AutoSizeColOrRow() logic for multicells.

This fixes the regression of r64885 and also tries to make the code more
clear by setting the variables explicitly to their correct values.

Closes #14611.

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

12 years agoHandle underlined and strikethrough attributes in wxGTK native font info.
Vadim Zeitlin [Sat, 15 Sep 2012 23:17:12 +0000 (23:17 +0000)] 
Handle underlined and strikethrough attributes in wxGTK native font info.

These attributes were not handled by wxFont::GetNativeFontInfoDesc() as it
only serialized the Pango font description which doesn't support them.

Fix this by handling these attributes explicitly and prepending them to the
Pango font string if necessary.

Closes #14559.

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

12 years agoTake into account wxFONTFLAG_STRIKETHROUGH in wxGTK wxFont ctor.
Vadim Zeitlin [Sat, 15 Sep 2012 23:16:46 +0000 (23:16 +0000)] 
Take into account wxFONTFLAG_STRIKETHROUGH in wxGTK wxFont ctor.

Honour wxFONTFLAG_STRIKETHROUGH in wxFont ctor taking flags as this is the
only way to create a strike-through font currently.

See #14559.

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

12 years agoFix spelling in the comments in wxPropertyGrid code.
Vadim Zeitlin [Fri, 14 Sep 2012 22:26:54 +0000 (22:26 +0000)] 
Fix spelling in the comments in wxPropertyGrid code.

No real changes.

Closes #14645.

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

12 years agoAllow using horizontal cursor navigation keys in non-readonly wxComboCtrl.
Vadim Zeitlin [Fri, 14 Sep 2012 22:26:31 +0000 (22:26 +0000)] 
Allow using horizontal cursor navigation keys in non-readonly wxComboCtrl.

Don't intercept Left/Right/Home/End keys until the control is read-only,
otherwise they're more useful for navigating in its text part than in its
drop-down.

Closes #14648.

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

12 years agoNo changes, just remove an unused variable from CHM code.
Vadim Zeitlin [Fri, 14 Sep 2012 22:26:09 +0000 (22:26 +0000)] 
No changes, just remove an unused variable from CHM code.

Closes #14655.

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

12 years agoNo changes, just remove unnecessary variable initialization.
Vadim Zeitlin [Fri, 14 Sep 2012 22:25:46 +0000 (22:25 +0000)] 
No changes, just remove unnecessary variable initialization.

Combine variable declaration and initialization.

Closes #14659.

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

12 years agoCzech translations update from Zbynek Schwarz.
Vadim Zeitlin [Fri, 14 Sep 2012 10:27:36 +0000 (10:27 +0000)] 
Czech translations update from Zbynek Schwarz.

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

12 years agoRelax wxMessageDialog style checks, assume wxOK by default.
Vadim Zeitlin [Thu, 13 Sep 2012 17:16:11 +0000 (17:16 +0000)] 
Relax wxMessageDialog style checks, assume wxOK by default.

Don't complain if neither wxOK nor wxYES[_NO] are specified but just assume
wxOK by default. This allows the code calling wxMessageBox() with just an icon
flag to continue to work in the same way in 2.9 as it did in 2.8.

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

12 years agoNo changes, just remove unneeded variable initialziation in wxAUI.
Vadim Zeitlin [Thu, 13 Sep 2012 17:15:48 +0000 (17:15 +0000)] 
No changes, just remove unneeded variable initialziation in wxAUI.

Initialize the variables to the correct values when defining them instead of
initializing them as 0 first and then assigning them the real value.

Closes #14652.

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

12 years agoAdd wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images.
Vadim Zeitlin [Thu, 13 Sep 2012 17:15:25 +0000 (17:15 +0000)] 
Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images.

Just as wxBITMAP() provides a portable way of loading bitmaps from either
Windows BMP resources or embedded XPM data depending on the platform,
wxBITMAP_PNG() hides the difference between loading bitmaps from PNG resources
under Windows and embedded PNG data elsewhere.

Also add wxBITMAP_PNG_FROM_DATA() macro which always loads PNG data from
memory: it's needed anyhow as part of wxBITMAP_PNG() implementation and some
people may prefer to always use it under all platforms.

Finally modify the image sample to demonstrate loading PNG images from both
resources and memory. This involved creation of a new Windows .rc file for it
and copying its data files to Resources bundle directory under OS X.

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

12 years agoAdd wxBitmap::NewFromPNGData() for creating bitmaps from PNG data.
Vadim Zeitlin [Thu, 13 Sep 2012 17:15:00 +0000 (17:15 +0000)] 
Add wxBitmap::NewFromPNGData() for creating bitmaps from PNG data.

This simple function can be used to create a wxBitmap from the raw image data
in PNG format. It is just a thin wrapper around wxImage load functions under
almost all platforms but has two advantages:

1. It can be implemented natively for some platforms (currently only OS X).
2. It can be used in a single expression as it doesn't require creating a
   temporary wxMemoryInputStream and this will be required by wxBITMAP_PNG()
   macro that will be added soon.

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

12 years agoDon't ignore invalid files entered into wxFileDirPickerCtrlBase.
Vadim Zeitlin [Thu, 13 Sep 2012 17:14:37 +0000 (17:14 +0000)] 
Don't ignore invalid files entered into wxFileDirPickerCtrlBase.

File/directory picker controls with wxFLP_FILE_MUST_EXIST/wxDIRP_DIR_MUST_EXIST
style simply ignored any value entered by user if it didn't correspond to an
existing file/directory. This meant that the program didn't use the value that
was shown on the screen resulting in very confusing UI -- e.g. a program could
complain that no value was entered when actually it was and just corresponded
to a non-existing file.

As we can't prevent the entry of arbitrary strings in the text field of the
file picker control, stop pretending that we can validate it and just update
the control value, and send the corresponding event, whenever the text control
value changes.

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

12 years agoExtract "Close" button creation from wxInfoBarGeneric into new function.
Vadim Zeitlin [Thu, 13 Sep 2012 17:14:14 +0000 (17:14 +0000)] 
Extract "Close" button creation from wxInfoBarGeneric into new function.

Such buttons may be needed in other places and it's not obvious to create
them, so add a new public wxBitmapButton::NewCloseButton() method to allow
creating them easily.

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

12 years agoProvide up to date documentation for wxLoadUserResource().
Vadim Zeitlin [Thu, 13 Sep 2012 17:13:50 +0000 (17:13 +0000)] 
Provide up to date documentation for wxLoadUserResource().

Document the new and preferred overload avoiding copying the data. Also
document the new (since 2.9.1) parameters of the old one.

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

12 years agoChange wxMSW-specific wxLoadUserResource() to accept standard RT_XXX types.
Vadim Zeitlin [Thu, 13 Sep 2012 17:13:28 +0000 (17:13 +0000)] 
Change wxMSW-specific wxLoadUserResource() to accept standard RT_XXX types.

Resource types can be either strings for custom types or integers casted to a
TCHAR* for the standard ones. Using wxString for the resource type prevented
us from using the latter as any attempt to initialize wxString for such a
pseudo-string resulted in an immediate crash.

Change wxLoadUserResource() resource type parameter type to wxChar* to avoid
this and allow passing standard resource types, such as RT_RCDATE, to this
function directly.

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

12 years agoDon't initialize alpha twice when loading wxImage from resources.
Vadim Zeitlin [Thu, 13 Sep 2012 17:13:05 +0000 (17:13 +0000)] 
Don't initialize alpha twice when loading wxImage from resources.

Calling InitAlpha() when we already had loaded alpha from the resource data
results in an assert. Fix this by only initializing alpha if don't have it
yet.

Closes #14643.

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

12 years agoFix wxFindWindowAtPoint() with nested windows in wxMSW.
Vadim Zeitlin [Thu, 13 Sep 2012 17:12:42 +0000 (17:12 +0000)] 
Fix wxFindWindowAtPoint() with nested windows in wxMSW.

Return the deepest child of the window and not the first one as this function
needs to return the window that is at the top of Z-order.

Closes #14591.

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

12 years agoFix "pos" argument description in wxTreeCtrl::InsertItem() documentation.
Vadim Zeitlin [Thu, 13 Sep 2012 17:12:19 +0000 (17:12 +0000)] 
Fix "pos" argument description in wxTreeCtrl::InsertItem() documentation.

Closes #14640.

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

12 years agoFix setting colours for the edit control part of wxComboBox.
Vadim Zeitlin [Thu, 13 Sep 2012 17:11:56 +0000 (17:11 +0000)] 
Fix setting colours for the edit control part of wxComboBox.

Recognize this control as part of wxComboBox and so handle WM_CTLCOLOR for it.

To do this, override ContainsHWND() in wxComboBox and use it, on the parent
window, in wxControl::DoMSWControlColor(), if we fail to find the window
directly.

Closes #811.

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

12 years agoAdded support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.
Julian Smart [Wed, 12 Sep 2012 18:58:30 +0000 (18:58 +0000)] 
Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

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

12 years agoAdd generic wxFileSystem support to wxWebView using wxWebViewFSHandler.
Steve Lamerton [Tue, 11 Sep 2012 09:26:58 +0000 (09:26 +0000)] 
Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler.

Closes #14623.

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

12 years agoMove wxWebViewIE missing definitions to webview_missing.h and add new definitions...
Steve Lamerton [Mon, 10 Sep 2012 20:02:58 +0000 (20:02 +0000)] 
Move wxWebViewIE missing definitions to webview_missing.h and add new definitions required for Find.

These are required as some compilers, notably MinGW and VC6, do not include up to date headers. Fixes #14621.

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

12 years agolayout adaption, current sizer code leads to too much white space
Stefan Csomor [Mon, 10 Sep 2012 12:49:16 +0000 (12:49 +0000)] 
layout adaption, current sizer code leads to too much white space

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

12 years agoFix handling of wxTextEntry hints in wxGTK.
Vadim Zeitlin [Sun, 9 Sep 2012 20:28:22 +0000 (20:28 +0000)] 
Fix handling of wxTextEntry hints in wxGTK.

Recent changes (r71308) optimizing away setting the text of the text entry if
it didn't really change completely broke the generic text hints implementation
as e.g. clearing the hint didn't change anything because the entry was already
logically empty anyhow.

Fix this by simply comparing the new value with the real value of the entry
returned by DoGetValue() and not GetValue() that takes hints into account.

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

12 years agoFix deprecating warning introduced in r72446.
Vadim Zeitlin [Sun, 9 Sep 2012 13:37:06 +0000 (13:37 +0000)] 
Fix deprecating warning introduced in r72446.

Use wxVScrolledWindow::ScrollToRow() instead of the old and ambiguous
ScrollToLine() which is only preserved for compatibility reasons.

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

12 years agoAllow using versions of libnotify < 0.7 in wxGTK.
Vadim Zeitlin [Sun, 9 Sep 2012 13:36:43 +0000 (13:36 +0000)] 
Allow using versions of libnotify < 0.7 in wxGTK.

libnotify 0.4.5 included in Ubuntu Lucid (10.04) can be used for implementing
wxNotificationMessage too, there is only a minor difference with 0.7 API. So
while we stick check for 0.7 initially, accept lower versions too if 0.7 is
not available.

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

12 years agoSet modifiers properly for the key events with AltGr in wxGTK.
Vadim Zeitlin [Sun, 9 Sep 2012 13:36:20 +0000 (13:36 +0000)] 
Set modifiers properly for the key events with AltGr in wxGTK.

Just as under Windows, represent AltGr as a combination of wxMOD_CONTROL and
wxMOD_ALT.

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

12 years agoRemove workarounds for wxTextCtrl::SetValue() events in pickers code.
Vadim Zeitlin [Sun, 9 Sep 2012 13:35:57 +0000 (13:35 +0000)] 
Remove workarounds for wxTextCtrl::SetValue() events in pickers code.

Simply use ChangeValue() instead of SetValue() to avoid the unwanted events
instead of using guard variables.

No real changes but the code is simpler and shorter now.

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

12 years agoAdd a test of wxFilePickerCtrl::GetValue() to the widgets sample.
Vadim Zeitlin [Sun, 9 Sep 2012 13:35:34 +0000 (13:35 +0000)] 
Add a test of wxFilePickerCtrl::GetValue() to the widgets sample.

Make the current value of the control visible in its page.

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

12 years agoAdd an informational message to the file picker page of widgets sample.
Vadim Zeitlin [Sun, 9 Sep 2012 13:35:12 +0000 (13:35 +0000)] 
Add an informational message to the file picker page of widgets sample.

No real changes, just indicate that clicking the "Set initial directory"
button was indeed taken into account.

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

12 years agoSimplify and correct setting of initial directory for wxFilePickerCtrl.
Vadim Zeitlin [Sun, 9 Sep 2012 13:34:49 +0000 (13:34 +0000)] 
Simplify and correct setting of initial directory for wxFilePickerCtrl.

Create wxFileDialog with correct initial directory and default file name from
the very beginning instead of updating it later. This makes the code simpler
and also actually makes it work as the initial directory setting was
overwritten by setting the default path later even if it didn't contain any
directory component.

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

12 years agoFix harmless virtual function hiding warning in wxMSW build.
Vadim Zeitlin [Sun, 9 Sep 2012 13:34:25 +0000 (13:34 +0000)] 
Fix harmless virtual function hiding warning in wxMSW build.

Override the other StrokeLines() overload in wxGDIPlusContext just to avoid
the warning about hiding a base class virtual method from MinGW compiler.

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

12 years agoFix wxKeyEvent::GetKeyCode() descripotion: it doesn't depend on locale.
Vadim Zeitlin [Sun, 9 Sep 2012 10:46:37 +0000 (10:46 +0000)] 
Fix wxKeyEvent::GetKeyCode() descripotion: it doesn't depend on locale.

GetKeyCode() will always return valid key codes for Latin-1 symbols but won't
do it for other non-ASCII Unicode characters even if they are representable in
the current locale.

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

12 years agoDo not use wxIsprint() in EVT_CHAR example in the documentation.
Vadim Zeitlin [Sun, 9 Sep 2012 10:46:14 +0000 (10:46 +0000)] 
Do not use wxIsprint() in EVT_CHAR example in the documentation.

This is incorrect as wxIsprint() is locale-dependent and only really works as
expected in UTF-8 locales (which are never used under Windows). Instead, just
test for control characters directly.

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

12 years agoEnsure the selected style is visible.
Julian Smart [Sun, 9 Sep 2012 09:38:15 +0000 (09:38 +0000)] 
Ensure the selected style is visible.

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

12 years agoItalian translations update from Roberto Boriotti.
Vadim Zeitlin [Sun, 9 Sep 2012 08:34:59 +0000 (08:34 +0000)] 
Italian translations update from Roberto Boriotti.

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

12 years agoDon't try to determine the clicked item ourselves in wxMSW wxListBox.
Vadim Zeitlin [Sun, 9 Sep 2012 00:44:26 +0000 (00:44 +0000)] 
Don't try to determine the clicked item ourselves in wxMSW wxListBox.

This doesn't work when the listbox is scrolled as the result of a click to
make the selected item fully visible and results in the index of the item
being off by 1 in the generated event which is a pretty serious problem.

Fix it by simply retrieving the item from the listbox itself, without doing
any hit testing. This seems to give the correct result in all cases and also
makes the code much simpler as we don't have to use 2 different ways of
finding the item depending on whether it was selected using the keyboard or
the mouse and makes it unnecessary to keep track of how the selection was done
completely, i.e. reverts r64498 which is not needed any more.

Closes #14635.

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

12 years agoDocument wxDropTarget::GetDataObject().
Vadim Zeitlin [Sun, 9 Sep 2012 00:44:03 +0000 (00:44 +0000)] 
Document wxDropTarget::GetDataObject().

Closes #14631.

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

12 years agoDon't use StringFormat::GenericTypographic() in MSW wxGraphicsContext.
Vadim Zeitlin [Sun, 9 Sep 2012 00:43:40 +0000 (00:43 +0000)] 
Don't use StringFormat::GenericTypographic() in MSW wxGraphicsContext.

Using this string format results in very condensed strings when using small
fonts. The results of GDI+ font rendering are still pretty bad even without it
but they are at least slightly better.

Closes #14537.

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

12 years agoUse a single global StringFormat in all wxMSW wxGraphicsContext code.
Vadim Zeitlin [Sun, 9 Sep 2012 00:43:18 +0000 (00:43 +0000)] 
Use a single global StringFormat in all wxMSW wxGraphicsContext code.

Instead of creating StringFormat in DrawText() and Get[Partial]TextExtent[s],
create it once and simply use it from both functions.

This might be slightly more efficient as we don't waste time recreating it but
the main advantage is that it ensures that these functions use the same string
format and no discrepancies between them are possible.

See #14537.

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

12 years agoOutput the values of all USE_XXX options to build.cfg file in MSW builds.
Vadim Zeitlin [Sun, 9 Sep 2012 00:42:55 +0000 (00:42 +0000)] 
Output the values of all USE_XXX options to build.cfg file in MSW builds.

USE_RTTI, USE_AUI, USE_PROPGRID, USE_RIBBON, USE_RICHTEXT, USE_STC and USE_XRC
options were not output to the build configuration file, unlike the rest of
them.

Do output those ones as well now for consistency.

Also sort the options corresponding to different wx libraries alphabetically.

Closes #14608.

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

12 years agoDocument wxWindow InheritsBackgroundColour() and UseBgCol() methods.
Vadim Zeitlin [Sun, 9 Sep 2012 00:42:31 +0000 (00:42 +0000)] 
Document wxWindow InheritsBackgroundColour() and UseBgCol() methods.

These functions were present in the interface header but didn't have their own
documentation and somehow inherited the documentation of the first function in
the same section which didn't make any sense for them. Do document them now.

Closes #14607.

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

12 years agoLink MSW-specific event loop files in wxUniv/MSW.
Vadim Zeitlin [Sun, 9 Sep 2012 00:42:03 +0000 (00:42 +0000)] 
Link MSW-specific event loop files in wxUniv/MSW.

This fixes wxUniv build after the changes of r72008.

Closes #14606.

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

12 years agoUndid accidental modification of wxTaskBarIcon in the last commit.
Vadim Zeitlin [Sat, 8 Sep 2012 21:51:02 +0000 (21:51 +0000)] 
Undid accidental modification of wxTaskBarIcon in the last commit.

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

12 years agoFix narrow/wide string concatenation in recently added wxSizerFlags assert.
Vadim Zeitlin [Sat, 8 Sep 2012 21:48:57 +0000 (21:48 +0000)] 
Fix narrow/wide string concatenation in recently added wxSizerFlags assert.

This fixes MSVC build after r72434.

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

12 years agoFix some typos in the comments in wxOSX code.
Vadim Zeitlin [Sat, 8 Sep 2012 16:03:34 +0000 (16:03 +0000)] 
Fix some typos in the comments in wxOSX code.

Closes #14636.

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

12 years agoCheck validity of wxSizerFlags::Border() direction parameter.
Vadim Zeitlin [Sat, 8 Sep 2012 15:46:50 +0000 (15:46 +0000)] 
Check validity of wxSizerFlags::Border() direction parameter.

Catch the misguided attempts to pass the size of the border as the first
parameter of the Border(direction, size) overload.

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

12 years agoEnable GL_CULL_FACE in OpenGL samples.
Vadim Zeitlin [Sat, 8 Sep 2012 15:46:27 +0000 (15:46 +0000)] 
Enable GL_CULL_FACE in OpenGL samples.

Without it, the hidden faces are shown resulting in wrong display of both the
cube and the penguin, at least with Mesa (but it also seems to be the correct
thing to do according to OpenGL documentation).

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

12 years agoFix VC6 compilation after r72430.
Václav Slavík [Sat, 8 Sep 2012 10:53:40 +0000 (10:53 +0000)] 
Fix VC6 compilation after r72430.

VC6 doesn't handle for loop scope correctly.

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

12 years agoAdd MUI_LANGUAGE_NAME to wx/msw/missing.h.
Václav Slavík [Sat, 8 Sep 2012 10:53:16 +0000 (10:53 +0000)] 
Add MUI_LANGUAGE_NAME to wx/msw/missing.h.

Fixes VC6 compilation after r72430.

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

12 years agoAdd wxTranslations::GetBestTranslation().
Václav Slavík [Sat, 8 Sep 2012 08:58:38 +0000 (08:58 +0000)] 
Add wxTranslations::GetBestTranslation().

Implement preferred language selection on modern systems (OS X, Windows
Vista+). User settings for locale (aka "regional settings") and UI
language are independent there and the UI language shouldn't be
determined from the locale.

Moreover, the OS provides a list of preferred languages, not a single
value (as with locale), so we should use the best language given user's
preferences and available translations. A Czech user may prefer Slovak
UI over English, for example, and we should use Slovak translation in
absence of Czech one in that case instead of falling back to English.

On Unix, locale is language and so things remain as before.

Notice that calling wxLocale::Init(wxLANGUAGE_DEFAULT) does the right
thing now: it sets the locale to whatever the user has configured in
regional settings and loads translations corresponding to default
wxTranslations language, which is determined as described above.
Previously, UI would be translated using a language corresponding to the
regional settings.

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

12 years agoRegenerated Xcode projects.
Dimitri Schoolwerth [Fri, 7 Sep 2012 20:15:29 +0000 (20:15 +0000)] 
Regenerated Xcode projects.

Updated the Xcode projects for Scintilla 3.21 and removal of src/osx/spinctrl_osx.cpp.

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

12 years agoUpdated instructions for XML Tools.
Dimitri Schoolwerth [Fri, 7 Sep 2012 20:11:00 +0000 (20:11 +0000)] 
Updated instructions for XML Tools.

A newer version of XML Tools has been released (2.9.4) which supports OS X 10.6 and later. As such a link to the beta version of 2.9.4 is not needed anymore.

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

12 years agowxMSW: Fix incorrect subitem rect calculation in wxListCtrl.
Václav Slavík [Fri, 7 Sep 2012 09:51:10 +0000 (09:51 +0000)] 
wxMSW: Fix incorrect subitem rect calculation in wxListCtrl.

HandleSubItemPrepaint() calls wxGetListCtrlSubItemRect() (a thin
replacement of ListView_GetSubItemRect) with subitem argument
corresponding to MSDN documentation: it should be 0 for the whole item
and 1-based for subitems.

Unfortunately, as pointed out in an explanatory comment for
wxGetListCtrlSubItemRect(), MSDN lies and the index actually is 0-based.

The bug causes wxListCtrl's content to be shifted by one column and
rendered with additional artifacts as soon as custom drawing is used,
e.g. when a custom font is used.

This bug was introduced in r55378; the code correctly accounted for this
before that. This change partially reverts that commit.

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

12 years agorestrict change from r71719 because otherwise apps like docview sample in ddi mode...
Stefan Csomor [Thu, 6 Sep 2012 14:24:28 +0000 (14:24 +0000)] 
restrict change from r71719 because otherwise apps like docview sample in ddi mode are not allowing their different child frames to be z-reordered

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

12 years agoDisable wxWebView::Find and associated functions under MinGW and VC6 to fix compilation
Steve Lamerton [Thu, 6 Sep 2012 08:39:12 +0000 (08:39 +0000)] 
Disable wxWebView::Find and associated functions under MinGW and VC6 to fix compilation

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

12 years agoFix wxVLogStatus definition.
Vadim Zeitlin [Sat, 1 Sep 2012 22:38:40 +0000 (22:38 +0000)] 
Fix wxVLogStatus definition.

This macro can be used with 2 arguments (format and argptr) or 3 (the frame
pointer as an additional first argument), so don't define it as taking 2
arguments but as a macro without arguments, as we already do for
wxVLogSysErrorfor the same reasons.

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

12 years agoFix example of using GetUnicodeKey() in the documentation.
Vadim Zeitlin [Fri, 31 Aug 2012 12:31:44 +0000 (12:31 +0000)] 
Fix example of using GetUnicodeKey() in the documentation.

A Unicode key is not always printable, it can be a control character as well.

Closes #14622.

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

12 years agoFix compilation after r72375 - LC_CTYPE requires locale.h.
Václav Slavík [Fri, 31 Aug 2012 10:45:45 +0000 (10:45 +0000)] 
Fix compilation after r72375 - LC_CTYPE requires locale.h.

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

12 years agoCorrect wxAuiManager library in documentation.
Vadim Zeitlin [Thu, 30 Aug 2012 20:26:09 +0000 (20:26 +0000)] 
Correct wxAuiManager library in documentation.

It's wxAUI, not wxBase.

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

12 years agoFix opening URLs in new window with recent Firefox under Windows.
Vadim Zeitlin [Thu, 30 Aug 2012 20:25:46 +0000 (20:25 +0000)] 
Fix opening URLs in new window with recent Firefox under Windows.

Don't fail if we can't replace "-1" in the WWW_OpenURL topic value stored in
the registry with "0", it can be already "0" for the recent Firefox versions.

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

12 years agoExplicitly reject the use of wxTE_PASSWORD in generic wxSpinCtrl.
Vadim Zeitlin [Thu, 30 Aug 2012 20:25:24 +0000 (20:25 +0000)] 
Explicitly reject the use of wxTE_PASSWORD in generic wxSpinCtrl.

wxTE_PASSWORD has the same value as wxALIGN_CENTRE_VERTICAL which could be
implicitly specified as part of wxALIGN_CENTRE, but should never be used with
wxSpinCtrl, so explicitly filter it out when creating the associated
wxTextCtrl.

Closes #14452.

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

12 years agoGenerate wxEVT_COMMAND_TEXT_ENTER events for generic wxSpinCtrl.
Vadim Zeitlin [Thu, 30 Aug 2012 20:25:01 +0000 (20:25 +0000)] 
Generate wxEVT_COMMAND_TEXT_ENTER events for generic wxSpinCtrl.

Pass wxTE_PROCESS_ENTER to wxSpinCtrlTextGeneric if it's specified for
wxSpinCtrl itself and also forward wxEVT_COMMAND_TEXT_ENTER events from it to
wxSpinCtrl itself.

This fixes lack of these events for wxSpinCtrlDouble under MSW and also lack
of them for any kind of wxSpinCtrl in the ports using generic version (notably
wxOSX).

Closes #14604.

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

12 years agoAdd wxSpinCtrl::SetBase() to allow entering hexadecimal numbers.
Vadim Zeitlin [Thu, 30 Aug 2012 20:24:38 +0000 (20:24 +0000)] 
Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers.

Add a generic SetBase() API even though right now only bases 10 and 16 are
supported as we might support other ones (e.g. 8?) in the future. Implement it
for MSW, GTK and generic versions.

Add controls allowing to test this feature to the widgets sample.

Add "base" property support to the XRC handler for wxSpinCtrl, document it and
test it in the xrc sample.

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

12 years agoRemove wxOSX implementation of wxSpinCtrl and use the generic one.
Vadim Zeitlin [Thu, 30 Aug 2012 20:24:12 +0000 (20:24 +0000)] 
Remove wxOSX implementation of wxSpinCtrl and use the generic one.

wxOSX doesn't provide a native spinner+text control so it used a generic
implementation of wxSpinCtrl but a different one to the version found in
src/generic/spinctlg.cpp.

Just use the real generic version instead, it doesn't make sense to have two
different versions of the same generic control.

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

12 years agoRefactor text to/from double conversion in wxSpinCtrlGenericBase.
Vadim Zeitlin [Thu, 30 Aug 2012 20:23:49 +0000 (20:23 +0000)] 
Refactor text to/from double conversion in wxSpinCtrlGenericBase.

The code always used ToDouble() and Format("%g") which was a bit strange for
integer-valued wxSpinCtrl. Move the conversions to their own virtual functions
for clarity, perhaps correctness and, especially, flexibility as they will be
overridden in wxSpinCtrl soon.

Also move wxSpinCtrlGenericBase::m_format to wxSpinCtrlDouble as the base
class really doesn't need it at all.

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

12 years agoRemove wxRTTI macros from wxSpinCtrlGTKBase.
Vadim Zeitlin [Thu, 30 Aug 2012 20:23:26 +0000 (20:23 +0000)] 
Remove wxRTTI macros from wxSpinCtrlGTKBase.

This is not a public class and it doesn't need to be appear in wxRTTI.

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

12 years agoFix position carried in wxSpin{Button,Ctrl} events for 32 bit values in wxMSW.
Vadim Zeitlin [Thu, 30 Aug 2012 20:23:03 +0000 (20:23 +0000)] 
Fix position carried in wxSpin{Button,Ctrl} events for 32 bit values in wxMSW.

Don't use WM_VSCROLL message parameter as the position because it's a 16 bit
value and is not enough for the spin controls using 32 bit range. Just use the
current value available from the control itself instead.

This fixes assert failures in the spin page of the widgets sample when
changing the value of a control when it is > SHRT_MAX.

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

12 years agoUse wxSOCKET_WAITALL in wxHTTP to ensure that all data is sent.
Vadim Zeitlin [Thu, 30 Aug 2012 20:22:40 +0000 (20:22 +0000)] 
Use wxSOCKET_WAITALL in wxHTTP to ensure that all data is sent.

POST-ing sufficiently big amounts of data in wxHTTP didn't work because it
couldn't be sent all at once to the server. Use wxSOCKET_WAITALL to ensure
that we do send all of the data.

Closes #14598.

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

12 years agoFix bugs in parsing wxLongLong values starting with zeroes.
Vadim Zeitlin [Thu, 30 Aug 2012 20:22:17 +0000 (20:22 +0000)] 
Fix bugs in parsing wxLongLong values starting with zeroes.

wxCRT_StrtoullBase(), used by wxString::To[U]LongLong(), didn't handle leading
zeroes nor leading 0x correctly: it never auto-detected base 8; didn't ignore
the leading 0 even if base 8 was specified explicitly; didn't recognize "0X"
prefix at all (only "0x").

Fix all these bugs and add test cases for parsing numbers in other bases to
the unit tests.

Closes #14596.

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

12 years agoAdded wxSimplebook class: a wxBookCtrl without controller.
Vadim Zeitlin [Thu, 30 Aug 2012 20:21:54 +0000 (20:21 +0000)] 
Added wxSimplebook class: a wxBookCtrl without controller.

This new control allows the program to show one of the several pages without
allowing the user to change them (or even see that there are several of them)
himself.

This class is fully inline, so it doesn't add anything to the library and
hence doesn't need neither wxUSE_SIMPLEBOOK nor the corresponding configure
option.

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

12 years agoVirtualize showing/hiding the pages in wxBookCtrlBase.
Vadim Zeitlin [Thu, 30 Aug 2012 20:21:29 +0000 (20:21 +0000)] 
Virtualize showing/hiding the pages in wxBookCtrlBase.

No real changes, just make it possible to change how the pages are hidden and
shown in the derived classes. This is not used by any of them yet, but will be
used by wxSimplebook soon.

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

12 years agoRemove unnecessary TranslateBookFlag() from the notebook sample.
Vadim Zeitlin [Thu, 30 Aug 2012 20:21:06 +0000 (20:21 +0000)] 
Remove unnecessary TranslateBookFlag() from the notebook sample.

It probably was needed before, when the flags had different values for
different controls, but is simply unused now.

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

12 years agoDocument that menu item bitmaps must be set before appending them.
Vadim Zeitlin [Thu, 30 Aug 2012 20:20:44 +0000 (20:20 +0000)] 
Document that menu item bitmaps must be set before appending them.

At least in MSW we need to know in advance whether we're going to use normal
items or owner-drawn ones currently.

Closes #3641.

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

12 years agoDon't lay out the window being destroyed unnecessarily.
Vadim Zeitlin [Thu, 30 Aug 2012 20:20:20 +0000 (20:20 +0000)] 
Don't lay out the window being destroyed unnecessarily.

This is just a small optimization: it's useless to waste time on redoing the
layout of a window that is going to be destroyed soon anyhow.

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

12 years agoUse wmain() if supported by the compiler/CRT instead of main().
Vadim Zeitlin [Thu, 30 Aug 2012 20:19:57 +0000 (20:19 +0000)] 
Use wmain() if supported by the compiler/CRT instead of main().

This avoids a needless conversion from (originally Unicode) command line to
ANSI by the CRT and conversion back by wxWidgets and, especially, ensures that
there is no data loss if the Unicode command line arguments can't be converted
into the current charset.

See #14580.

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

12 years agoDutch translations update from Thomas De Rocker.
Vadim Zeitlin [Thu, 30 Aug 2012 10:18:35 +0000 (10:18 +0000)] 
Dutch translations update from Thomas De Rocker.

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

12 years agoInclude gettext MO files in distribution archives.
Václav Slavík [Thu, 30 Aug 2012 09:59:14 +0000 (09:59 +0000)] 
Include gettext MO files in distribution archives.

It's the usual thing to do. Ideally, we'd also compile them as part of
build process, at least on Unix, but this is better than nothing.

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

12 years agoavoid duplication in native dialog
Stefan Csomor [Wed, 29 Aug 2012 12:17:31 +0000 (12:17 +0000)] 
avoid duplication in native dialog

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

12 years agouse global NSLayoutManager
Stefan Csomor [Wed, 29 Aug 2012 12:16:36 +0000 (12:16 +0000)] 
use global NSLayoutManager

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

12 years agoadd global NSLayoutManager instance
Stefan Csomor [Wed, 29 Aug 2012 12:15:50 +0000 (12:15 +0000)] 
add global NSLayoutManager instance

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

12 years agofixes #13557
Stefan Csomor [Wed, 29 Aug 2012 12:01:19 +0000 (12:01 +0000)] 
fixes #13557

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

12 years agotemporary workaround
Stefan Csomor [Wed, 29 Aug 2012 11:20:23 +0000 (11:20 +0000)] 
temporary workaround

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

12 years agopropagating font to the individual columns, changing row heights according to font...
Stefan Csomor [Wed, 29 Aug 2012 09:00:51 +0000 (09:00 +0000)] 
propagating font to the individual columns, changing row heights according to font size, fixes #14578

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

12 years agoremove duplicate code
Stefan Csomor [Wed, 29 Aug 2012 07:11:20 +0000 (07:11 +0000)] 
remove duplicate code

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

12 years agofixing usage of load states, set controller visible correctly
Stefan Csomor [Tue, 28 Aug 2012 19:00:23 +0000 (19:00 +0000)] 
fixing usage of load states, set controller visible correctly

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

12 years agoAdd support for searching and highlighting a wxWebView.
Steve Lamerton [Tue, 28 Aug 2012 17:13:13 +0000 (17:13 +0000)] 
Add support for searching and highlighting a wxWebView.

Currently supports WebView on GTK and IE. Closes #14045.

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

12 years agoUpdate of OpenVMS compile support
Jouk Jansen [Tue, 28 Aug 2012 06:27:50 +0000 (06:27 +0000)] 
Update of OpenVMS compile support

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

12 years agocompilation fix for case that wxHAS_RAW_BITMAP is NOT defined
Jouk Jansen [Tue, 28 Aug 2012 05:57:14 +0000 (05:57 +0000)] 
compilation fix for case that wxHAS_RAW_BITMAP is NOT defined

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

12 years agoRefreshed all source message catalogs.
Vadim Zeitlin [Mon, 27 Aug 2012 09:53:46 +0000 (09:53 +0000)] 
Refreshed all source message catalogs.

Ran "make allpo" to update the catalogs with the new strings.

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

12 years agoChinese translations update from Jiawei Huang.
Vadim Zeitlin [Mon, 27 Aug 2012 09:53:08 +0000 (09:53 +0000)] 
Chinese translations update from Jiawei Huang.

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

12 years agoreverting for the moment, original problem #12227, this leads eg in the mediaplayer...
Stefan Csomor [Mon, 27 Aug 2012 06:36:40 +0000 (06:36 +0000)] 
reverting for the moment, original problem #12227, this leads eg in the mediaplayer sample to a non-show of the noteobook page

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

12 years agoAvoid crashes when creating initially hidden MDI child under Unity.
Vadim Zeitlin [Sun, 26 Aug 2012 16:35:02 +0000 (16:35 +0000)] 
Avoid crashes when creating initially hidden MDI child under Unity.

Ignore "hide" signals for the menus without associated shown window. Ubuntu
Unity sends them and we crashed because of a recursive assert in the
corresponding signal handler before.

Now the code doesn't crash any more but the menus still don't behave correctly
when the last MDI child is destroyed.

Closes #13593.

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

12 years agoFixed typo in dialog project file
Julian Smart [Sat, 25 Aug 2012 18:04:11 +0000 (18:04 +0000)] 
Fixed typo in dialog project file

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

12 years agoFixed a problem with text effects flag always being set on dialog exit
Julian Smart [Sat, 25 Aug 2012 18:03:23 +0000 (18:03 +0000)] 
Fixed a problem with text effects flag always being set on dialog exit

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

12 years agoMake sure wchar_t CRT functions work on OS X.
Václav Slavík [Sat, 25 Aug 2012 11:14:44 +0000 (11:14 +0000)] 
Make sure wchar_t CRT functions work on OS X.

In OS X and iOS, wchar_t CRT functions convert to char* and fail under
some locales. The safest fix is to set LC_CTYPE to UTF-8 to ensure that
they can handle any input.

Note that this must be done for any app, Cocoa or console, whether or
not it uses wxLocale.

See http://stackoverflow.com/questions/11713745/why-does-the-printf-family-of-functions-care-about-locale

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

12 years agoTest if wxString::Format() works with non-ASCII format string.
Václav Slavík [Sat, 25 Aug 2012 11:14:17 +0000 (11:14 +0000)] 
Test if wxString::Format() works with non-ASCII format string.

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

12 years agosimpler implementation that also works over remote connections by Kevin O.
Stefan Csomor [Sat, 25 Aug 2012 09:38:12 +0000 (09:38 +0000)] 
simpler implementation that also works over remote connections by Kevin O.

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

12 years agoUkrainian translations update from Yuri Chornoivan.
Vadim Zeitlin [Fri, 24 Aug 2012 22:08:28 +0000 (22:08 +0000)] 
Ukrainian translations update from Yuri Chornoivan.

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