Commit Graph

63257 Commits

Author SHA1 Message Date
Tobias Taschner
85bbcff9cc Remove wxOSX/Carbon only wxFileName methods from docs.
The carbon only implementation was removed in 5ba67c67e4.
2016-02-23 13:15:07 +01:00
Tobias Taschner
baa47dc435 Drop Mac prefix on remaining instances of OS X in docs.
This should have been part of df33c0c491 but somehow where missed.
2016-02-23 13:05:44 +01:00
Tobias Taschner
d065aa85ad Update wxListCtrl::EnableCheckboxes documentation.
Method is no longer MSW only.
2016-02-23 12:57:17 +01:00
Tobias Taschner
ebeb9eab5b Add wx prefix in wxNotificationMessage event docs. 2016-02-23 11:36:37 +01:00
Tobias Taschner
994b9b1486 Update AUI docs on native art providers.
Include information about native toolbar and tab art in wxMSW.
2016-02-23 11:29:52 +01:00
Tobias Taschner
7865157bda Add architecture i386 to iOS build instructions.
The 64-bit intel build currently fails and it is really not necessary.
2016-02-23 11:23:00 +01:00
sbrowne
d4edf57781 Make wxToolBar tools rectangles taller under OS X
Apparently the tools get slightly cut off without this.

See #16669.
2016-02-23 01:46:45 +01:00
sbrowne
1f7cd4807f Don't show labels for toolbars showing icons only in wxOSX
In For the toolbars in non-top orientation, calling SetToolShortHelp() also
showed the item label even if the toolbar was supposed to show the icons only.

Closes #16669.
2016-02-23 01:44:50 +01:00
ARATA Mizuki
899b56c4a7 Don't restore selection when a text field receives focus on OS X
This makes wxTextCtrl behave like the native text controls and, in particular,
makes it select its entire text when it gets focus (incidentally, this is also
how it behaves under the other platforms).

Closes #9521.
2016-02-23 01:34:42 +01:00
Vadim Zeitlin
fea37f4984 Don't assert when creating wxComboBox with wxCB_SORT in wxOSX
Partially undo the changes of 8e7262fca7: using
wxLogWarning() was wrong, but using asserts is not really great neither as it
results in crashes, and prevents from using, some samples.

Also at least document that this style is not supported.

See #12419.
2016-02-23 01:32:46 +01:00
John Roberts
505f1fb3a8 Ensure that wxComboCtrl is aligned with other controls under OS X
Positioning wxComboCtrl and wxTextCtrl or wxComboBox in the same column should
align their left borders, but it didn't because of an extra offset for the
focus ring used for wxComboCtrl only.

We need to either apply this offset to all controls or none of them, so remove
it from this one.

Closes #15017.
2016-02-23 01:21:49 +01:00
Manuel Martin
d6fb44e158 Add a new OpenGL pyramid sample
This sample shows the use of modern OpenGL (3.2).

Closes #16910.
2016-02-23 01:04:25 +01:00
Manuel Martin
bdc95f5766 Improve wxGLCanvas to be more type safe and better support modern OpenGL
Add wxGLAttribsBase, wxGLAttributes and wxGLContextAttrs replacing the old
untyped "int attributes[]".

Don't use global object for creating OpenGL > 3.0 contexts.

Closes #16909.
2016-02-23 00:32:54 +01:00
Vadim Zeitlin
fb5ff50eda Make wxBitmap::ConvertToDisabled() work correctly for scaled bitmaps
Preserve the scale factor after conversion.

Closes #17307.
2016-02-23 00:13:37 +01:00
John Roberts
2fa4a0be4e Fix Z-order after showing modal dialog in wxOSX
Explicitly bring the parent to top when hiding a modal dialog, this doesn't
seem to do any harm and it fixes a very annoying regression with bringing the
application frame, and not the dialog parent, if it's different, to the top of
Z-order after dismissing the dialog.

Closes #16204.
2016-02-23 00:09:12 +01:00
Vadim Zeitlin
f037e1206d Merge wxiOS fixes
Make it build again and add instructions about how to build and use it.

Closes https://github.com/wxWidgets/wxWidgets/pull/213
2016-02-22 23:53:30 +01:00
Daniel Kulp
cb3ac0e6fc Support underlined/strikethrough fonts for window labels in wxOSX
Use setAttributedTitle: to take into account font underline/strikethrough
attributes when using it for the window label.

See https://github.com/wxWidgets/wxWidgets/pull/187
2016-02-22 23:19:18 +01:00
Daniel Kulp
54a64fc549 Accept "underlinedstrikethrough" in wxFont user strings
Due to a bug fixed in 78145f9162 converting a
font which was both underlined and stricken-through to a user string resulted
in using this space-less version and while the bug is fixed now, still accept
the strings created while it was there on input, it doesn't cost much and
results in a better user experience.

See https://github.com/wxWidgets/wxWidgets/pull/187
2016-02-22 23:10:29 +01:00
Daniel Kulp
16a67283a0 Add support for underlined and strikethrough to wxOSX wxFontDialog
Honour user selection for these attributes in the native dialog (although only
simple underline/strikethrough are supported currently, not double ones).

See https://github.com/wxWidgets/wxWidgets/pull/187

Closes #17338.
2016-02-22 22:55:44 +01:00
Daniel Kulp
53a5806372 Create strike-through wxGraphicsFont objects in wxOSX
Honour wxFONTFLAG_UNDERLINED in wxGraphicsFont::CreateFont() overload taking
flags.

See https://github.com/wxWidgets/wxWidgets/pull/187
2016-02-22 22:51:59 +01:00
Vadim Zeitlin
ed6dc2e4ed Support pixel scaling in wxBufferedDC
Use the scale factor of the associated DC to create the bitmap of the
appropriate size.

This is similar https://github.com/wxWidgets/wxWidgets/pull/158 but uses
portable API instead of wxOSX-specific code.

See #17302.
2016-02-22 22:21:47 +01:00
Daniel Kulp
ab60539810 Return correctly scaled bitmaps from wxDC::GetAsBitmap() in wxOSX
Use the scale used by the DC itself, i.e. the scale factor of the window it's
associated with.

Closes #17302.
2016-02-22 22:21:47 +01:00
Daniel Kulp
38fabf7012 Adjust strike-through line position under OS X
It was too high, move it down to make it look better.

Closes #17339.
2016-02-22 22:21:47 +01:00
Joost Nieuwenhuijse
eb8f6e0173 Display the global menu bar if the last TLW is hidden in wxOSX
Hiding the last TLW should be enough to show the global menu bar, but this
only happened if it was closed and not just hidden.

Closes #16201.
2016-02-22 22:21:47 +01:00
Cătălin Răceanu
f223e2a3b5 Use lpszClass parameter as "EDIT"
`widgets` sample works fine with this change.
2016-02-22 22:42:16 +02:00
Cătălin Răceanu
7eb9e5b128 Removed unneeded mention to MSW 2016-02-22 21:06:07 +02:00
Cătălin Răceanu
bb3b56e099 Removed unneeded mention to MSW
...also reformatted the text to fill in the available space
2016-02-22 21:01:19 +02:00
Paul Cornett
ace212a311 Remove redundant wxGCDC::{Get,Set}GraphicsContext() overrides 2016-02-22 10:34:30 -08:00
Paul Cornett
371ee79f88 Avoid wxGraphicsContext offsetting on HiDPI displays
For a typical scale factor of 2, there won't be any odd-width lines,
and for any factor greater than 1.0, it won't be doing what was intended,
so just don't do it. See #17375
2016-02-22 10:25:16 -08:00
Paul Cornett
6674ca57da implement wxDC::GetContentScaleFactor() for GTK3 2016-02-22 09:52:26 -08:00
Sebastian Dröge
aa2cd42206 Report video size changes to the media backend 2016-02-22 00:57:41 +02:00
Sebastian Dröge
d0ef5d7daa Add support for GStreamer 1.x while keeping 0.10 support
Based on a patch by crisb

http://trac.wxwidgets.org/ticket/14976
2016-02-22 00:22:33 +02:00
Catalin
f6a314bd62 Included headers needed by GET_X_LPARAM and GET_Y_LPARAM macros. 2016-02-21 20:12:35 +02:00
Catalin
9afa157d43 Marked some standard keys as obsolete. They should probably be removed too. 2016-02-21 20:12:33 +02:00
Catalin
c69c4e2874 Removed wxNB_FLAT style. 2016-02-21 20:12:32 +02:00
Catalin
1a13f8e5b7 Removed wxTB_3DBUTTONS style 2016-02-21 20:12:31 +02:00
Catalin
f5b78dc76f Do not translate Windows names. 2016-02-21 20:12:29 +02:00
Catalin
8aafec1ace Removed obsolete symbols from comments. 2016-02-21 20:12:28 +02:00
Catalin
b13a8997c6 Log the error if StretchDIBits() fails. 2016-02-21 20:12:27 +02:00
Catalin
180bee9ba8 Use slightly safer FindWindowEx() call. 2016-02-21 20:12:26 +02:00
Catalin
c31d8e81f0 Do not return obsolete OS family names. 2016-02-21 20:12:25 +02:00
Catalin
773ce1d58e Removed comment about non-existing DoDrawEllipticArcRot() function. 2016-02-21 20:12:24 +02:00
Catalin
0d870c5bb3 No longer define GET_X_LPARAM and GET_Y_LPARAM macros. According to MSDN they are available starting with Windows 2000 Professional/Server. 2016-02-21 20:12:23 +02:00
Catalin
77b4e9d7ea Removed obsolete symbols from comments. 2016-02-21 20:12:22 +02:00
Catalin
768aa0aef7 Do not consider info from obsolete Windows versions. 2016-02-21 20:12:20 +02:00
Catalin
11319e0da2 Removed unused file. 2016-02-21 20:12:19 +02:00
Catalin
33ad41a745 Removed obsolete symbols from comments. 2016-02-21 20:12:18 +02:00
Catalin
edc8cd1f74 Do not return OS info for obsolete versions. 2016-02-21 20:12:17 +02:00
Catalin
2d2bb0df39 Removed obsolete symbols from comments. 2016-02-21 20:12:16 +02:00
Catalin
b57531acaa Do not test for obsolete OS versions to determine if it must use owner drawn item. 2016-02-21 20:12:15 +02:00