Compare commits

..

598 Commits

Author SHA1 Message Date
Vadim Zeitlin
8df55d69dd Replace separate release notes with a single file
Use the same file for both sources and binaries, they are all on the same page
when using Github releases.
2017-05-02 00:07:09 +02:00
Vadim Zeitlin
6bb0c86874 Update copyright year in the documentation to 2017
Don't touch the year elsewhere and especially in the sources to avoid the
mismatch with the existing binary packages, it's not that important.
2017-05-01 23:04:34 +02:00
Vadim Zeitlin
913155cc57 Update copyright year in wxMSW DLLs version information block
Use 2017 instead of 2013 which was already out of date even for the previous
release, which was in 2014.
2017-04-29 19:18:07 +02:00
Vadim Zeitlin
eadbf3e139 Merge branch 'pvs-fixes-3.0' into 3.0
See https://github.com/wxWidgets/wxWidgets/pull/470
2017-04-29 14:00:38 +02:00
Ilya Ivanov
717ffcd80c Fix wrong variable name in assignment in wxRichTextSizePage dtor
The "sm_showMinMaxSizeControls" was assigned twice, while
"sm_enablePositionAndSizeUnits" was not assigned at all, apparently by
mistake.

Thanks to PVS-Studio for finding this issue (V519 The
'sm_showMinMaxSizeControls' variable is assigned values twice successively).
2017-04-29 13:59:52 +02:00
Ilya Ivanov
0eb34b5256 Use VARIANT_TRUE and VARIANT_FALSE correctly
VARIANT_TRUE (-1) must be used with VARIANTs of boolean type, instead of TRUE
(1) which has a different value and can result in interoperability problems.

Thanks to PVS-Studio for finding this issue (V721 The VARIANT_BOOL type is
utilized incorrectly).
2017-04-29 13:58:47 +02:00
Ilya Ivanov
ef227d669d Fix check for wxACC_STATE_SYSTEM_MARQUEED in accessibility code
wxACC_STATE_SYSTEM_INVISIBLE was checked twice, by mistake, while
wxACC_STATE_SYSTEM_MARQUEED was never checked at all.

Thanks to PVS-Studio for finding this issue (V581: The conditional expressions
of the 'if' operators situated alongside each other are identical).
2017-04-29 13:58:47 +02:00
tommash
e1a6857d5a Don't send unnecessary events when wxSpinCtrlDouble loses focus
Only send the event when the control loses focus if its value has really
changed.

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

(cherry picked from commit 5e24bd162c)
2017-04-29 13:55:44 +02:00
Robin Dunn
3fa996453f Add a missing constant and enum 2017-04-27 19:38:04 -07:00
Tobias Taschner
7847ce2304 Fix AVKit availability check for OS X SDK 10.7 and 10.8
This fixes the check for older SDKs and outputs the check result.

(cherry picked from commit 159186d656)

Closes https://github.com/wxWidgets/wxWidgets/pull/371
2017-04-26 22:33:43 +02:00
Vadim Zeitlin
ef30edf5e0 Fix keyboard event key codes when using Wayland
Correct the confusion between compile- and run-time checks for X11.

See #17848.

(cherry picked from commit 7542632302)
2017-04-26 22:32:52 +02:00
Lauri Nurmi
cc86c80495 Fix the integer value in events generated by generic wxSpinCtrl
This notably fixes the problem with changing the year using spin control
arrows under macOS, where this control is used as part of
wxGenericCalendarCtrl, as not having the correct value in the event object
resulted in bogus events with dates in the year 0 there.

See http://trac.wxwidgets.org/ticket/17193

(cherry picked from commit 148e8971c7)
2017-04-25 13:10:05 +02:00
Vadim Zeitlin
b6ad01d2a9 Prepare for 3.0.3 release
Update the README, change log and the announcement in preparation for the
release.
2017-04-22 16:57:22 +02:00
Vadim Zeitlin
6288f8e2e6 Add dummy wxGStreamerMediaBackend::QueryVideoSizeFromElement()
This is not used, but having it avoids warnings about breaking ABI
compatibility with 3.0.2 when using GStreamer 1.0 in 3.0.3.
2017-04-22 16:30:36 +02:00
Vadim Zeitlin
fd2b143a48 Fix wxDataViewRendererBase::FinishEditing() symbol version
This symbol is not new in 3.0.3, unlike wxDataViewRenderer::FinishEditing(),
so it should keep its 3.0 version to avoid breaking ABI compatibility.
2017-04-22 16:17:33 +02:00
Vadim Zeitlin
df67c91995 Don't mark wxSimplebookXmlHandler as being 3.0.3-only
This change (done in 7b25b65a2f) makes 3.0.3
binary-incompatible with 3.0.2 as the programs using wxSimplebookXmlHandler
with the latter use these symbols with the version WXU_3.0 and not WXU_3.0.3
that they have now.

So while not adding these symbols to the version script before 3.0.2 release
was wrong, adding them for 3.0.3 is even worse, hence revert this change.
2017-04-22 16:03:47 +02:00
Vadim Zeitlin
ebb62db0fc Revert wrong fix for wxDateTime timezone conversion to/from local
This reverts commit aaddf6be7f as it broke
handling of dates when local time zone is BST, whose offset not counting DST
is 0, as for UTC, but which still should be handled as local timezone,
see #17220.

With the current wxDateTime handling of time zones, FromTimezone(Local)
doesn't make much sense anyhow, so abandon attempts to try making it work as
to really do it we need to specify the time zone being converted from too, as
explained in the second point of #10445.

See #16585.

(cherry picked from commit f6d9d7962e)
2017-04-19 17:12:32 +02:00
Vadim Zeitlin
a8533c4f7b Fix wrong example using printf() in wxDateTime overview
Use wxPrintf() and remove the c_str() call which is redundant with it instead
of using printf() which can't be used with non-POD objects like wxCStrData
returned by c_str() in wx 3.0+.

(cherry picked from commit dd134b9534)
2017-04-19 17:12:32 +02:00
Scott Talbert
c7a77f5bc8 Add autoconf support for building with SDL2
Adds support for finding SDL2 when running configure (support for actually
using SDL2 was added back in cb50bdc075).

(cherry picked from commit ed577b7099)
2017-04-18 03:53:38 +02:00
Damien Ruscoe
586e8a572c Hide empty wxCheckBoxes in wxGTK to fix display problem
Focus rectangle was still drawn around the label when it was empty with some
themes, so hide it completely to ensure this doesn't happen.

See #17443.

(cherry picked from commit fc0108ce71)
2017-04-18 03:45:23 +02:00
David Hart
48b86c20b2 Fix or work around several wxX11 problems in the widgets sample
Initialize the variables and check that they're initialized in the event
handlers which are called earlier in wxX11.

Also always use valid wxSlider flags.

Closes #17843.
2017-04-18 03:17:18 +02:00
David Hart
e1a4b7d5aa Fix use of dangling reference in wxFileSystemWatcher Unix code
Don't reference the "watch" object after possibly destroying it when handling
IN_DELETE_SELF inotify notification.

Closes #17122.

(cherry picked from commit 34d39c9dfb)
2017-04-18 03:10:18 +02:00
David Hart
07168e3d2a Make failure to remove an inotify watch a warning
Apparently this can happen when a directory is deleted just before the watch
is removed and it is impossible to avoid it, so just send a warning message so
that the program could react to this, if necessary, but don't annoy the user
with an error in this case.

See #17122.

(cherry picked from commit 6537356236)
2017-04-18 03:08:55 +02:00
Lauri Nurmi
7c540fd007 Compilation fix for narrowing conversions in XBM files in wxMotif
The same fix as in commit 3704547684 for #12575.

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

(cherry picked from commit 4cdc1f5ba8)
2017-04-15 14:32:16 +02:00
oBFusCATed
430a72fad6 Fix inserting child properties into the parent composed property (in wxPropertyGridPageState::DoInsert).
When new sub-property is added and the parent property is a container of composed values then its editor (if exists) need to be refreshed to reflect the new composed value.

Closes #16982.
2017-04-10 23:56:27 +02:00
Artur Wieczorek
a4f2f2ec6c Fixed wxPropertyGrid::DoEndLabelEdit function
When label editing is finished then property label has to be always updated. If there is a text which is cached in the corresponding cell then it also needs to be updated.

See #16982.
2017-04-10 23:56:27 +02:00
Artur Wieczorek
6575ed47a1 Fixed setting property label with wxPGproperty::SetLabel
If there is a corresponding cell containing a cached text for column 0 then this text also needs to be updated when the label is changed.

See #16982.
2017-04-10 23:56:27 +02:00
Artur Wieczorek
6b236d5d7e Prevent sending wxEVT_PG_LABEL_EDIT_ENDING events recursively, cont.
Spurious wxEVT_PG_LABEL_EDIT_ENDING events shouldn't be generated also if wxPropertyGrid::DoEndLabelEdit() function is reentered multiple times (constraint for selected column should be removed from the guard because column index is set to 1 after first reentry and no longer reflects original value stored in the event object).

Closes #16864.
2017-04-10 23:56:27 +02:00
Artur Wieczorek
3dcdbe82b3 Prevent sending wxEVT_PG_LABEL_EDIT_ENDING events recursively.
By preventing sending wxEVT_PG_LABEL_EDIT_ENDING events recursively (recursive generation can happen due to the calling wxPropertyGrid::RefreshProperty() directly or indirectly from within wxEVT_PG_LABEL_EDIT_ENDING event handler) spurious events are not sent to the application and wxPropertyGrid::DoEndLabelEdit() function is not reentered.

Closes #16864.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2017-04-10 23:56:27 +02:00
Vadim Zeitlin
1a9900a813 Fix warning about undefined __cplusplus in wx/defs.h
Check that __cplusplus is defined before testing its value to avoid warnings
when compiling C code, e.g. regex library.

Notice that in master a check for __cplusplus covering a bigger part of this
file was added to solve the same problem, but it doesn't seem like a good idea
to stop defining other symbols which had been previously defined in 3.0, so
keep this check as narrow as possible here.
2017-04-10 00:02:21 +02:00
Artur Wieczorek
f93fe544c5 Allow wxPG to take focus on the entire area even if wxPG is not a standalone control.
By default, to prevent wxPG from stealing focus from other controls, focus is moved to the grid only if it was already in one of its child controls.
When newly introduced wxPG_EX_ALWAYS_ALLOW_FOCUS flag is set then wxPG can take focus on the entire grid area (on canvas) even if focus is moved from another control.
Default wxPG behavior remains unchanged because wxPG_EX_ALWAYS_ALLOW_FOCUS flag must be explicitly set with wxPropertyGrid::SetExtraStyle function.

Closes #16993.

(cherry picked from commit 7394dd8e1f)
2017-04-10 00:02:16 +02:00
Stefan Csomor
a34b9c1e01 adding wxFALLTHROUGH to indicate intended fall through in switch statements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2017-04-07 11:42:08 -07:00
Václav Slavík
c228c55428 Fix "unknown keyboard accel" with 1-char translations
wxAcceleratorEntry::ParseAccel() incorrectly assumes that every
single-character accelerator must be a direct character code. But
that's not true, a human-friendly name for a key (e.g. "Down") may be
translated with a single character in some languages (or because a
translator decides to use a Unicode arrow…).

Amend the test to check if the character is a 7bit ASCII one. That
would be extremely unlikely to be a translation.

(cherry picked from commit 166f5c0abb)
2017-04-05 13:53:43 +02:00
Vadim Zeitlin
ed88188be7 Fix spurious assert in wxGTK wxDataViewCtrl::EditItem().
The assert in wxGtkTreeSelectionLock ctor failed after the first time this
object was created as it doesn't reset the selection function to NULL with
wxGTK2, fix this by checking for different values depending on whether it's
actually the first time we do it or not.

In the future we should just reset the selection function to NULL as it does
work in GTK+ 3, also update the comment explaining the problem to mention this.

(cherry picked from commit 24c0401e81)
2017-04-04 18:39:35 +02:00
Vadim Zeitlin
8fad217a6f Hide wxChoice before destroying it with GTK+ 3
This works around GTK+ critical error messages that we get otherwise with GTK+
since the change done in its commit 7401794de6b084fea469af297b7c144724b8492c
which appeared in 3.22.8 release and is still present in the latest version.

These messages happen because gtk_combo_box_popdown() ends up being called
during the widget destruction if it's still shown, so just hide the combobox
before destroying it to avoid them.

Closes https://github.com/wxWidgets/wxWidgets/pull/449

(cherry picked from commit 404f0f8587)
2017-04-04 07:46:34 -07:00
Paul Cornett
397e6e9e35 Fix typo: CFStringref --> CFStringRef
(cherry picked from commit 493643477c)
2017-03-24 08:35:33 -07:00
Tim Kosse
8f12eaf980 Create empty wxCFStringRef and not null one if conversion fails
If the passed string cannot be represented in the target encoding in the
wxCFStringRef constructor, create a reference to an empty string instead of a
null ref. Most users of wxCFStringRef cannot handle a null wxCFStringRef.

Closes #17825.

(cherry picked from commit a2b04536d3)
2017-03-23 14:08:55 +01:00
Paul Cornett
e4293e9e39 Avoid using stale nl_langinfo() pointer
See #17813

(cherry picked from commit a0cb7c1291)
2017-03-02 07:48:44 -08:00
Robin Dunn
6eb5943ed0 Add missing event type constants for propgrid 2017-02-20 19:36:16 -08:00
Robin Dunn
060df58bbf Add propgriddefs.h to the interface, containing macros, enums and such referenced elsewhere in the API. 2017-02-20 19:36:16 -08:00
Vadim Zeitlin
be0eb3d213 Support proportions for wxFlexGridSizer growables in XRC schema
The value of "growablerows" and "growablecols" elements is not just a
list of numbers, but a list of numbers with optional weights, specified
after a colon.

Update the XRC schema to account for the weights too.

See #17802.

(cherry picked from commit 0d73253111)
2017-02-19 15:51:15 +01:00
Paul Cornett
24604a2b5b Use spaces to avoid pasting arguments together
Don't rely on variables starting with a space, it's too fragile

(backport of b6fea21140)
2017-02-18 16:25:01 -08:00
Paul Cornett
bcb0382250 Avoid using negative width
(cherry picked from commit 95ae67d1f4)
2017-02-18 11:47:17 -08:00
Scott Talbert
dc7acca2cd Document missing wxGrid methods
Add documentation for the previously undocumented
IsCellEditControlShown(), Deselect{Col,Row,Cell}() and SetAttr().

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

(cherry picked from commit b1fd65a903)
2017-02-05 02:59:12 +01:00
Robin Dunn
c07c544720 SetSelection returns an int, not a size_t 2017-02-02 09:54:12 -08:00
Robin Dunn
732f3e5e61 Add missing wxImageHandler::SetType 2017-01-31 20:09:41 -08:00
Robin Dunn
c329fab727 wxPGVIterator does not inherit from wxObjectRefData 2017-01-23 15:01:38 -08:00
Robin Dunn
cc360cffbe wxSystemSettings does not inherit from wxObject 2017-01-23 15:01:37 -08:00
Scott Talbert
501b377435 Add support for GStreamer 1.x in Unix wxMediaCtrl implementation
Do it while keeping both 0.8 and 0.10 support, unlike the commit d0ef5d7,
which this is based on, that removed support for 0.8.

Closes https://github.com/wxWidgets/wxWidgets/pull/400
2017-01-23 13:47:50 +01:00
Paul Cornett
c047751abf Exclude DragAcceptFiles() when wxUSE_DRAG_AND_DROP==0
(backport of 42b2675806)
2016-12-22 22:23:38 -08:00
Paul Cornett
e7443259de Improve handling of wxUSE_FONTMAP==0 case with wxMSW
wxEncodingToCodepage() can be used when wxUSE_FONTMAP==0
Also avoid unreachable code warning with MSVC when using whole program optimization

(cherry picked from commit 64f1d760c6)
2016-12-22 22:15:04 -08:00
Paul Cornett
f90b768ea0 Fix generic wxWindow when used in toolbar
GtkToolbar uses item minimum size as actual size, so don't use 0 as minimum
for toolbar children.

See #17756, #17704

(cherry picked from commit 2155eb2fde)
2016-12-21 10:26:22 -08:00
Paul Cornett
4259ee7bd4 Reset static widget pointers when widgets are destroyed
See #17751

(cherry picked from commit 30a71c39f5)
2016-12-19 08:53:03 -08:00
Paul Cornett
6c7c4e4e2f Allow initializing wxWidgets multiple times against one instance of GTK+, episode 3
See #17751

(cherry picked from commit e0bcae1257)
2016-12-18 08:13:45 -08:00
Vadim Zeitlin
75c9715615 Fix wrong value used for wxFONTENCODING_MACROMANIAN in wxMSW
The correct code page for this encoding is 10010, see

https://msdn.microsoft.com/en-us/library/windows/desktop/dd317756.aspx

See #17752.

(cherry picked from commit aac66ea877)
2016-12-18 13:43:57 +01:00
Paul Cornett
cc73d56591 Remove unnecessary module variable
(cherry picked from commit d711c5c625)
2016-12-17 10:27:38 -08:00
Paul Cornett
fb5286d047 Dispose of GtkWidgets used by wxSystemSettings
(cherry picked from commit 4691926791)
2016-12-17 10:27:13 -08:00
Paul Cornett
4f607df3d2 Revert 21c1c552, "Allow initializing wxWidgets multiple times"
See #17751
2016-12-16 23:40:19 -08:00
Paul Cornett
21c1c5520d Allow initializing wxWidgets multiple times against one instance of GTK+
See #17751

(backport of db9858a93c)
2016-12-15 19:41:32 -08:00
Paul Cornett
1690d8b886 avoid unused variable warning with GTK2 after a050652c 2016-12-14 09:36:08 -08:00
Paul Cornett
a050652c6a Use "notify::gtk-theme-name" from GtkSettings to generate wxSysColourChangedEvent
"style-updated" occurs frequently for other reasons, such as switching focus between TLWs

(cherry picked from commit 61c8a7ca60)
2016-12-13 09:07:50 -08:00
Paul Cornett
b2854a20de Avoid generating scroll event when our scrollbar is disabled by other software
webkitgtk apparently manipulates our scrollbar GtkAdjustment directly, setting
all members to zero to disable it. Since we never do that, those values were
unexpected. This is a better fix for the problem papered over by 45d66f592

(cherry picked from commit ccd1d40dd9)
2016-12-12 10:55:54 -08:00
Paul Cornett
20a504707a Draw a blank header button in any remaining space after last header column
(cherry picked from commit c70abf23aa)
2016-12-11 23:44:21 -08:00
Paul Cornett
9206a5aec8 Fix drawing header buttons with GTK3 renderer on GTK+ >= 3.20
Lines between columns were missing with default Adwaita theme

(cherry picked from commit 48e6a0c851)
2016-12-11 23:43:56 -08:00
Paul Cornett
617a0cb433 Improve appearance of tree item button with GTK3 renderer
(cherry picked from commit 38246b96a4)
2016-12-11 10:55:41 -08:00
Paul Cornett
61a90436f1 Fix drawing of splitter sash with GTK3 renderer
(cherry picked from commit c5adf1f854)
2016-12-11 09:17:05 -08:00
Václav Slavík
723489e2d9 Fix GetInstallPrefix availability check
Add wxHAS_STDPATHS_INSTALL_PREFIX to make checking for
wxStandardPaths::GetInstallPrefix()'s availability simpler, as the
condition under which it is compiled is nontrivial.

Fixes compilation after 2c24ee9216 on
Cygwin, which is a UNIX, but its wxStandardPaths implementation is a
Windows one.

(cherry picked from commit 13862ad8e6)
2016-12-11 15:19:42 +01:00
Paul Cornett
ef12daba86 Improve appearance of text control with GTK3 renderer
(cherry picked from commit c2b9f650e4)
2016-12-10 21:53:38 -08:00
Paul Cornett
ec023e9977 Fix rendering of check and radio buttons with GTK+ >= 3.20
(cherry picked from commit e627970ba6)
2016-12-10 21:53:10 -08:00
Paul Cornett
9518d52ba8 Improve appearance of header button with GTK3 renderer
Remove the mysterious insetting by 4. Where that came from I don't know,
but it makes the button look stupid

(cherry picked from commit 49361b6bb8)
2016-12-10 18:54:35 -08:00
Paul Cornett
309f5fe529 Fix infinite sizing loop caused by 64753769
Avoid the problems 64753769 attempted to address in a much simpler way:
when a "size-allocate" is in progress, call gtk_widget_size_allocate()
directly, rather than deferring a call to gtk_widget_queue_resize().
See #17585

(backport of d5681ee4a8)
2016-12-09 21:43:54 -08:00
Vadim Zeitlin
28aea07674 Fix wxString::From[C]Double() unit test for MSVC 14 and later
Since MSVC 14, VC CRT uses standard-conforming 2 digits for the exponent
instead of the non-standard 3 used previously.

(cherry picked from commit 7122288416)
2016-12-09 17:45:46 +01:00
Vadim Zeitlin
d57c75a2e5 Make wx/valnum.h self-contained by including wx/textentry.h
This header uses (i.e. forward declaration wouldn't be sufficient)
wxTextEntry, so it must include the header declaring it.

(cherry picked from commit 9db6f6ca1a)
2016-12-09 02:00:31 +01:00
Václav Slavík
7ae5b6442f Search $PREFIX/share/locale for translations on Unix
The changes introduced in ​ea160f0 accidentally omitted this search
location, so only wx's own install prefix was searched. This probably
went undetected for so long because these two are often, but not always,
the same.

Fixes #17740.

(cherry picked from commit 2c24ee9216)
2016-12-06 16:49:03 +01:00
Václav Slavík
87c55ca242 Fix typo in wxABI_VERSION check in 90b12483 2016-12-06 09:55:32 +01:00
Václav Slavík
90b124835e Fix accel handling when removing item from submenu
wxMSW propagates accelerators to the top menu in wxMenu::UpdateAccel(),
but the reverse operation in wxMenu::DoRemove() didn't do it, resulting
in leaked leftover accelerator entries that could prevent the same
accelerator from working if an item using it was later added. Fix by
adding RemoveAccel() helper method that behaves analogously to
UpdateAccel().

(backport of 60542745f6 from master)
2016-12-05 18:03:04 +01:00
Václav Slavík
97330c2706 Remove useless wxABI_VERSION checks in sources
They are only meaningful for headers, not when compiling the library
itself.
2016-12-05 17:52:30 +01:00
Paul Cornett
5a089901ef Improve wxSystemSettings::GetColour() for GTK3
Previous implementation was inadequate, particularly for GTK+ >= 3.20

(backport of 4b8c83cb09)
2016-12-04 12:38:49 -08:00
Robin Dunn
323d4fa7a1 Add missing Restore() method. 2016-11-30 08:40:01 -08:00
Robin Dunn
1cdab48bc3 Merge branch 'aui-interface-updates' into WX_3_0_BRANCH 2016-11-22 10:25:16 -08:00
VZ
d4a52c0ec1 Backport AVKit-based wxMediaCtrl to fix build under OS X 10.12
Allow building wxOSX using 10.12 SDK which doesn't include QTKit support any longer.

See https://github.com/wxWidgets/wxWidgets/pull/341
2016-11-19 18:30:17 +01:00
Paul Cornett
caaeb96d5e Implement wxLB_NO_SB style
See https://github.com/wxWidgets/wxWidgets/pull/346

(cherry picked from commit d24fbc7808)
2016-11-19 09:00:30 -08:00
Mikko P
c47837ea92 Fix owner drawn dropdown row height.
While m_combo->GetFont(); sets the proper font, the size of that font did not affect the character height.
(cherry picked from commit 2326ca72f1)
2016-11-19 08:51:27 -08:00
Vadim Zeitlin
29a514cfc6 Mention that wxOSX doesn't implement SetLayoutDirection()
At least avoid wasting people time with debugging why it doesn't work.

(cherry picked from commit 5ffb8de44d)
2016-11-19 08:50:33 -08:00
Paul Cornett
87289bdc04 Enable choosing paper size and orientation on print dialog, see #17712
(cherry picked from commit 1b0e7c17e3)
2016-11-19 08:49:41 -08:00
Paul Cornett
f1352bd458 Size text sample to it's contents, rather than using fixed arbitrary size
(cherry picked from commit d3497d32ec)
2016-11-19 08:47:24 -08:00
Paul Cornett
10b9ab4d8d Support setting initial position for TLW with GTK3
(cherry picked from commit 5fb89cb86e)
2016-11-19 08:46:34 -08:00
Paul Cornett
337e80da76 Set a minimal size for GtkEntry preferred size
This overrides the default minimum size of 150+ pixels, avoiding swarms of
GTK3 debug warnings about "attempt to underallocate wxPizza's child GtkEntry"

(cherry picked from commit 27d218a1f3)
2016-11-19 08:44:42 -08:00
Vadim Zeitlin
38ffc910b2 Convert docs/doxygen/regent.bat to DOS EOLs
Very partial backport of 3c59f46b64 from master.
2016-11-17 14:49:18 +01:00
Robin Dunn
896d385dc0 Add missing GetPageImage 2016-11-11 19:02:17 -08:00
Paul Cornett
553ec7537c Fix non-default window background color with GTK+ >= 3.20
GTK+ no longer automatically paints non-default window background. See #17586

(cherry picked from commit 9bb5d0435a)
2016-11-09 20:07:57 -08:00
Paul Cornett
2241f97775 Avoid calling ScreenToClient() on invisible window while processing wxSetCursorEvent
(cherry picked from commit b47319d515)
2016-11-05 19:46:07 -07:00
Paul Cornett
e465b4cb2d Avoid using deleted widget in idle callback
Use a slightly higher idle priority so callback runs before TLW is deleted,
and ref the widget just to make sure it doesn't disappear. Problem was
introduced in 0388ce8e25

(backport of 9c3900e40d, which modified
9dc7a89ccd, which wasn't backported)
2016-11-05 17:52:21 -07:00
Paul Cornett
49be360eab Avoid assert dialog in ClientToScreen()/ScreenToClient(), it's just too annoying
(cherry picked from commit e3f117c4f3)
2016-11-03 09:41:48 -07:00
Paul Cornett
cd8811bf14 Fix paint clipping region with GTK+ >= 3.20
Apparently the clip is no longer set properly. Fixes wxDC::Clear() overwriting
areas outside the window. Problem can be seen in the Audacity toolbars.

(cherry picked from commit bca7313499)
2016-11-03 09:41:07 -07:00
Paul Cornett
4206e4ce1c Partial workaround for stale styling information with GTK3
We can trigger size events when we know the style cache has been updated.
See #16088

(backport of 101c43d0aa)
2016-11-02 10:46:57 -07:00
Paul Cornett
6475376931 Fix some sizing problems with GTK3
A change in size-allocate handling with GTK+ 3.20 exposed a flaw in our method for
deferring queue-resize requests. Using an idle callback to process the requests
did not work well with the GdkFrameClock-based system used since GTK+ 3.8. Using
the "check-resize" signal works better. Also with GTK+ >= 3.20, it seems necessary
to manually work the queue-resize up to the TLW, as otherwise the resized widgets
don't get updated without an external size-allocate event.
See #17585

(backport of 3b4ee5a031)
2016-11-02 10:30:44 -07:00
Paul Cornett
856b2f6e09 avoid uninitialized result from size_request with Ubuntu, see #17707
(cherry picked from commit 83012dc082)
2016-10-31 09:34:30 -07:00
Paul Cornett
12948ba5e3 Fix a sizing problem with GTK3 when wxPizza is the child of a native GTK widget
See #17704

(cherry picked from commit 240f826185)
2016-10-30 17:35:42 -07:00
Robin Dunn
805dea9649 Add public attributes to wxAuiPaneInfo 2016-10-28 14:22:06 -07:00
Robin Dunn
4926148ec9 Additions and fixes for AUI class interfaces 2016-10-27 18:48:52 -07:00
Robin Dunn
a0f45d35cc Merge branch 'WX_3_0_BRANCH' into aui-interface-updates 2016-10-26 09:34:53 -07:00
Robin Dunn
a68bc9bd72 Revert "WX_CLEAR_LIST in wxHtmlWindow::CleanUpStatics is hard-crashing"
The issue was an incorrect ownership transfer in wxPython.

This reverts commit 22f9852519.
2016-10-26 09:28:02 -07:00
Robin Dunn
e9c8338c85 Add AUI event types 2016-10-25 19:10:37 -07:00
Robin Dunn
80e2614bac Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-10-21 16:01:24 -07:00
Václav Slavík
ed8c3feab3 wxGTK: Don't right-align text by default in wxDVC
wxDataViewTextRenderer::SetAlignment didn't consider the posibility of
alignment being -1, causing the align & wxALIGN_RIGHT test to succeed
and the text to be right-aligned if explicit alignment wasn't provided.

This fix is only partial in that it simply does nothing in this case.
The correct thing to do is to determine and apply alignment later, once
it's known, but that's not possible to do on the 3.0 branch while
preserving binary compatibility.

(inspired by a6be5bdae3)
2016-10-21 17:56:36 +02:00
Tobias Taschner
7bf25ee2de Check deployment target for usage of AVKit
The AVKit framework should only be linked for OS X 10.9+
2016-10-21 11:29:51 +02:00
Tobias Taschner
4dad61831a Added --disable-qtkit to force usage of AVFoundation
See #17639
2016-10-21 11:29:38 +02:00
Tobias Taschner
8ce7150b32 Fix building wxMediaCtrl with OS X 10.12 SDK
Since OS X Sierra 10.12 QTKit has been removed. wxMediaCtrl for OS X already had a fallback to AVFoundation implemented. This makes sure this will be used and the correct media Frameworks are used for linking.
(cherry picked from commit 281610142b)
2016-10-21 11:15:58 +02:00
Tobias Taschner
38a7ee64a0 Add typecast for C++11 compilation of OS X wxMediaCtrl
When compiling in C++11 mode the typecast of AVPlayerStatus in the callback is required to avoid a compiler error.
(cherry picked from commit ce7bf5e539)
2016-10-21 11:15:58 +02:00
Stefan Csomor
32464a364f updating header info, adding AVKit support, iOS support
(cherry picked from commit a485823cb7 and 2e2cfd9d55)
2016-10-21 11:15:42 +02:00
Václav Slavík
34527f7473 Fix wxNullVariant handling in wxDataViewBitmapRenderer
In both the generic and GTK+ implementations, setting the value of a
bitmap column to wxNullVariant resulted in the bitmap, if set for some
rows, being repeated on the rows with null value.

(cherry picked from commit f3b8dac3b7)
2016-10-19 17:16:54 +02:00
Václav Slavík
4e7f160100 wxGTK: Handle null bitmaps in wxDataViewBitmapRenderer
Consistently with other implementations, accept wxNullBitmap and
wxNullIcon in wxDataViewBitmapRenderer if the column shouldn't show any
icon.

(cherry picked from commit ae93a83e76)
2016-10-08 17:01:57 +02:00
Robin Dunn
1b539499cd fix code snippet 2016-09-30 16:45:23 -07:00
Robin Dunn
c9e56dd3e5 Add missing wxPropertySheetDialog methods and fix a typo. 2016-09-30 13:44:38 -07:00
mirh
2a21297d41 Don't use thread-safe statics with MSVS when targeting XP
Disable thread-safe initialization for static local variables in Visual Studio
2015 when XP toolset is used as this results in crashes when using DLLs under
XP, see #13116.

See #17403.

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

(cherry picked from commit 26a58e9d48)
2016-09-29 01:37:08 +02:00
Vadim Zeitlin
d77661c73b Fix string iteration logic in wxFTP::Pwd()
wxString iterators can't be dereferenced once they reach the end of the
string, so compare them with end rather than checking if the value they point
to is non-NUL.

This makes wxFTP::Pwd() actually work, which was apparently broken since quite
some time (perhaps ever since c9f7896861 9+
years ago).

See #17679.

(cherry picked from commit d0c57dbef0)
2016-09-25 01:27:37 +02:00
Vadim Zeitlin
7f6d9166a2 Connect to the FTP server in a single place in wxFTP unit test
As all tests need a valid connection, just do it once in the test set up
instead of duplicating the call to Connect() in all tests.

No real changes.

(cherry picked from commit 461d0b2005)
2016-09-25 01:25:43 +02:00
Robin Dunn
9164090b46 Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-09-19 13:43:03 -07:00
Robin Dunn
f82ffe57ed Add missing ctors and dtor for wxPropertyGridManager 2016-09-19 13:37:36 -07:00
Robin Dunn
570e59d34a Add SetFlag and ClearFlag 2016-09-19 13:37:36 -07:00
Robin Dunn
1963627c10 Add built-in editor pointers 2016-09-19 13:37:36 -07:00
Tim Kosse
59ef01d95c Do not return empty tokens when parsing XDG_DATA_HOME and XDG_DATA_DIRS. This fixes an assert where wxString::Last would have been called on an empty string.
(cherry picked from commit 255b2adea2)
2016-09-19 16:16:09 +02:00
Scott Talbert
98065821bb Fix wxGetKeyState() on non-X11 wxGTK backends (e.g., Wayland)
wxGetKeyState() does not currently work on non-X11 GTK backends, and in some
cases it has been reported to crash.  It seems that the most likely use case
for wxGetKeyState() is to query the modifier keys, so on non-X11 backends, use
GTK+ calls to retrieve the modifier key state.

Non-modifier keys are not currently implemented, update the documentation to
mention this.

Closes https://github.com/wxWidgets/wxWidgets/pull/322

(this is a combined backport of 1033fb048d,
9f9c09e24a and
a18fe083cc from master)
2016-09-13 13:24:12 +02:00
Scott Talbert
fcb8497def Document wxHLB_XXX constants for wxHtmlListBox styles
Add missing #define's to htmllbox interface header.

Closes https://github.com/wxWidgets/wxWidgets/pull/323

(cherry picked from commit de1aff4117)
2016-09-09 23:46:36 +02:00
Pete Bannister
d4ae8219d9 Fix rendering of owner-drawn multi-column menus in wxMSW
Compute the item rectangle bounds correctly for the items in non-first column.

See #17072.

(cherry picked from commit 61083f4871)
2016-09-09 23:46:32 +02:00
Robin Dunn
24b506b66e Merge branch 'propgrid' into wxPy-3.0-branch 2016-09-02 22:38:22 -07:00
Robin Dunn
dfcffe7783 Add missing methods in wxGridCellAttr 2016-09-02 10:49:21 -07:00
Robin Dunn
354897cd13 Fix wxPropertyGridPage declaration 2016-08-31 16:18:15 -07:00
Paul Cornett
48841ad703 Remove incorrect g_object_ref on wxMenuBar
Should probably have been removed as part of 9ff9d30 (r55288)

(backport of 7986ccf039)
2016-08-31 10:45:49 -07:00
Paul Cornett
786f778b71 Save and restore GtkStyleContext in a few places that were not doing it
Does not fix any known problem, but seems prudent

(backport of 5d04f41d47)
2016-08-31 10:39:57 -07:00
Paul Cornett
ed54a746b0 Remove run-time dependencies on GTK3 backends for Wayland, Mir, Broadway
This allows running with a GTK+ library that was built with different backends
than the one wxWidgets was built with. Since GTK3 provides no way to determine
the backends available at run-time, avoid referencing symbols in the backends
by checking the type name of the GdkDisplay, on the assumption that they are
unlikely to ever be changed. The X11 backend is still required at run-time if
it was available at build-time, although this dependency could also be removed.

(cherry picked from commit 1ba59a410f)
2016-08-31 10:25:34 -07:00
Stefan Csomor
817bd0076f Don't include QuickTime headers unnecessarily
This should fix compilation under macOS Sierra (10.12).

See #17639.

(cherry picked from commit f6a2d1caef)
2016-08-27 18:02:58 +02:00
Robin Dunn
1d5119acf5 Add the other property classes so wxPython can see them. 2016-08-25 21:01:03 -07:00
Robin Dunn
ec4fd8b553 SetValueToUnspecified is not pure virtual 2016-08-24 18:50:52 -07:00
samurajj
e1e9482005 Fix error reporting for wxCopyFile() under Unix
Check if copying file actually succeeded, any IO errors that could happen in
it were previously just completely ignored.

See #17638.

(cherry picked from commit a93dcc531c)
2016-08-22 14:18:55 +02:00
Vadim Zeitlin
f252e56e88 Fix wxBitmap ctor from XBM in wxGTK
Width and height were exchanged in the loops, so the conversion code didn't
work correctly and overflowed the pixel buffer (due to extra padding in the
row stride) for non-square bitmaps. It also resulted in a completely wrong
bitmap appearance, but somehow this managed to go unnoticed, unlike the memory
errors.

See #17633.

(cherry picked from commit f9740e8180)
2016-08-21 14:49:07 +02:00
Andy Robinson
3550b50461 Fix format specifiers used for size_t values in wxFileConfig
Fix assert failures when reporting errors in config files under 64 bit systems
where "%d" can't be used to output a "size_t" value.

See #17630.

(cherry picked from commit 75e254fce7)
2016-08-19 22:46:10 +02:00
Robin Dunn
dcc23ceba8 Change ~wxPGChoicesData from private to protected 2016-08-13 14:51:59 -07:00
Robin Dunn
05fa348b20 Add more missing classes and methods in propgrid interface 2016-08-13 13:33:16 -07:00
Robin Dunn
b6c66f9c55 Add more missing classes 2016-08-13 13:33:16 -07:00
Robin Dunn
a5c4577a4a Add wxPGPaintData and wxPGCellRenderer 2016-08-13 13:33:16 -07:00
Robin Dunn
ea65f387f6 Remove wxDEPRECATED decorator from doc 2016-08-13 13:33:16 -07:00
Robin Dunn
b82af6885a some formatting tweaks for propgrid 2016-08-13 13:33:16 -07:00
Robin Dunn
0e333f336b Add missing methods 2016-08-10 19:22:34 -07:00
Scott Talbert
238a948ed0 Fix wxNativeFontInfo::InitFromFont() when using Pango
Use pango_font_description_copy() to make a lossless copy of the original font
instead of doing it using wxWidgets API which is less direct and, in addition,
currently is completely broken as SetXXX() methods don't create the Pango font
description if it doesn't exist as they ought to.

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

(cherry picked from commit dbe2a1c2fd)
2016-08-10 15:05:10 +02:00
Scott Talbert
a19e512e80 Fix the stop function of wxFontEnumerator for wxGTK
In a wxFontEnumerator, if false is returned from OnFacename() or
OnFontEncoding(), the enumeration is supposed to stop.  This was not happening
on wxGTK.

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

(cherry picked from commit 3572c2c654)
2016-08-08 14:07:46 +02:00
Robin Dunn
eaf70ea3cb wxPalette::Create should return true 2016-08-04 22:47:44 -07:00
Robin Dunn
8d543d6d3c Add setter methods to wxListEvent 2016-08-03 16:38:32 -07:00
Robin Dunn
73fca4c37d Revert my old hack for a dataformat issue on OSX, it caused more troubles than it fixes. 2016-08-02 15:04:29 -07:00
Robin Dunn
fe65419be3 Fix typo 2016-08-02 14:58:17 -07:00
David Costanzo
b4e2f93248 Don't handle special keys as characters in wxSTC in non-Unicode build
Correct the check for non-special keys when wxUSE_UNICODE==0.

Closes #17598.

(cherry picked from commit ab092c8d13)
2016-07-17 14:17:40 +02:00
Vadim Zeitlin
bca90fc95f Recognize wxAUI_NB_MIDDLE_CLICK_CLOSE in wxAuiNotebook XRC handler
This style was apparently just forgotten, so add it too.

See #17597.

(cherry picked from commit 63944ae9bd)
2016-07-17 14:06:55 +02:00
Robin Dunn
24d5ff7dc1 Change parameter name to reduce confusion in wxPython docs. 2016-07-15 15:41:10 -07:00
Robin Dunn
b93215eddd Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-07-14 11:53:26 -07:00
Robin Dunn
5f86a4d86d Add lots of missing methods in wxAboutDialogInfo 2016-07-14 11:48:57 -07:00
Robin Dunn
22f9852519 WX_CLEAR_LIST in wxHtmlWindow::CleanUpStatics is hard-crashing in wxHtmlWindow::CleanUpStatics, perhaps due to a different cleanup order?? Anyway, switching to .Clear() avoids the crash and does nearly the same. Since it is in code that is called on exit it shouldn't matter either way. 2016-07-13 10:24:58 -07:00
Robin Dunn
64b4ce5794 Add missing GetParser method 2016-07-13 10:21:15 -07:00
Paul Cornett
3e9bd07e3f Be more conservative in avoiding Cairo's maximum coordinate limit.
Fixes wxGCDC::Clear().
See #17584

(cherry picked from commit fa54e1af15)
2016-07-08 22:59:19 -07:00
Robin Dunn
3fcded484e Add missing parameter name 2016-07-07 21:01:29 -07:00
Robin Dunn
ae0c1ed0dc typo 2016-07-06 18:46:20 -07:00
Robin Dunn
f4f34a7ef1 Use "clientData" parameter name for consistency. 2016-07-05 11:17:42 -07:00
Robin Dunn
6f4dd7ff30 fix missing ; 2016-07-04 22:33:48 -07:00
Vadim Zeitlin
0264b2218c Use equally-sized buttons in wxMSW horizontal toolbars
Only use TBSTYLE_AUTOSIZE, adjusting each button to the size it really needs,
for the toolbars with wxTB_HORZ_LAYOUT style as they don't have any uniform
button size anyhow.

(cherry picked from commit 967bdbf994)
2016-06-30 19:13:30 +02:00
Robin Dunn
c1a1a13032 Add more stuff missing from the ribbon interface 2016-06-28 17:11:37 -07:00
Robin Dunn
95bff5496b Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-06-28 15:46:11 -07:00
Robin Dunn
1b1657e2d8 Fix typo 2016-06-21 18:21:27 -07:00
Robin Dunn
e93f6dbc0b Fix typos and missing items in the ribbon interface definitions 2016-06-21 14:07:56 -07:00
Paul Cornett
722ff6a210 Avoid clearing selection for mouse button up event which is not over an item, see #17547
(cherry picked from commit e9fdda8638)
2016-06-16 07:25:24 -07:00
Dimitri Schoolwerth
6c6522736d Make a public free function private
In cfe9625a0d the free function
MSWShouldBeChecked was introduced in toolbar.cpp and mistakenly made
inline. Fix by making it static instead.

(cherry picked from commit 54e6f6e7b8)
2016-06-08 01:32:33 +02:00
Artur Wieczorek
f82f74d09b Fix disabling control tools in wxMSW wxToolBar
Tools containing controls should be enabled/disabled in a different way from
the button tools in wxToolBar::DoEnableTool(). The control and its label (if
any) need to be explicitly enabled/disabled for wxToolBarBase::EnableTool() to
work properly.

Closes #17346.

(cherry picked from commit 68eae6ba5b)
2016-06-08 01:30:04 +02:00
Vadim Zeitlin
15507c0ab4 Suppress harmless unused parameter warnings in release build
Use WXUNUSED_UNLESS_DEBUG() for the parameters used only inside debug
checks.

See #16829.

(cherry picked from commit 6c3dfd113b)
2016-06-08 01:25:56 +02:00
Vadim Zeitlin
cfe9625a0d Fix checked disabled wxToolBar tools with custom images in wxMSW
Windows doesn't use the correct image for checked disabled tools, at least
up to and including Windows 7, so don't put such tools in the "checked"
state at all: this doesn't matter as they are disabled anyhow, but shows
the correct image for them.

See #12989.

(cherry picked from commit 29cd13cc8f)
2016-06-08 01:20:18 +02:00
Andreas Falkenhahn
fd95ab5615 Refresh wxListCtrl with wxLC_HRULES in SetColumnWidth() in wxMSW
This is necessary to avoid corrupted rules display after changing the column
width.

Closes #17158.

(cherry picked from commit 02c8973a57)
2016-06-07 23:37:20 +02:00
Kevin B. McCarty
fa19bfa239 Fix race condition in Unix wxExecute() if child exited too quickly.
Check if the child has already finished before starting waiting for it.

Closes #16661.

(cherry picked from commit 1298f5970b)
2016-06-07 23:35:34 +02:00
Dimitri Schoolwerth
c293c645d7 Include all repository files in setup exe
Don't exclude non-MSW specific files any longer from the generated
installer for MSW. The space savings are hardly worth the effort:
originally 46.9 MiB (133 MiB installed) and with all files included 48 MiB
(142 MiB installed).
Also by having all files in the installer more exotic builds such as wxGTK
for MSW are available.

(cherry picked from commit 9a9a1199d4)
2016-06-06 03:31:55 +04:00
Corey Daley
6f7ea203f3 Implement support for wxHSCROLL in wxTextCtrl under OS X
Make the associated NSTextContainer of infinite size and tell it not to
track the NSTextView width if wxHSCROLL is specified.

Closes #4022.

Closes https://github.com/wxWidgets/wxWidgets/pull/124

(cherry picked from commit a118c4243a)
2016-06-06 03:30:22 +04:00
Andreas Falkenhahn
49d52abb4e Add wxTE_{RIGHT,CENTER} support for multiline wxTextCtrl in wxOSX
Just use -[NSTextView setAlignment].

Closes #13702.

(cherry picked from commit d45ba8ce62)
2016-06-06 01:34:20 +04:00
richard67
66ac3e863f Fix wxTranslations::GetHeaderValue() to look for correct header
Correct the search to completely match the full header name and not only
its beginning by appending ": " to the specified search string.

This prevents GetHeaderValue("Language") from returning "eam: wxWidgets team"
if there is a "Language-Team" header in the catalog, for example.

See #17555.

(cherry picked from commit 889cbd8e04)
2016-06-05 17:01:19 +02:00
Vadim Zeitlin
8675f35fc8 Fix creating wxGLCanvas without any attributes in wxMSW
This was broken by the changes of
f0e67ed517, see #16402.

Just check that we do have the attributes before examining them.

(cherry picked from commit 74421a7f35)
2016-06-02 22:42:31 +02:00
Václav Slavík
12d9c4ea9d Don’t assert on weird custom number formatting settings
On OS X at least, the user is free to customize numbers formatting rules
and use more than one character for separators. Don’t assert in such
cases (the rules are untrusted input), but instead fall back to
something reasonable, as is already done if we can’t retrieve the rules.

(cherry picked from commit 5d2b2b3d7a)
2016-05-30 18:21:41 +02:00
Václav Slavík
3de9fd84fe Fix link errors with older MinGW due to use of GetLayout()
This function is not present in older MinGW import libraries, up to at least
MinGW 4.8.1, so we can't use it directly as it was done in
22f0801 and we need to load it dynamically.

(limited backport from commit d55e4b2829b44a07f7c224f7b3327a1267c27093)
2016-05-29 17:55:44 +02:00
Robin Dunn
acf7068995 Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-05-27 09:28:46 -07:00
Paul Cornett
90fa100623 Fix linking with gdk_mir_* functions
gdkmir.h header is missing extern "C" wrapper as of GTK+ 3.18.7

(cherry picked from commit 1908c41f36)
2016-05-26 20:01:38 -07:00
Paul Cornett
57dce78348 Avoid blank menubar/toolbar when using wx[MT]B_DOCKABLE with GTK+ 3.20
A GTK+ bug involving GtkHandleBox somehow prevents drawing of its child
since 3.19.7.  Avoid this by disabling the docking functionality, which
is preferable to having the bar be blank.
See #17539

(cherry picked from commit 7e41ac405f)
2016-05-25 09:41:41 -07:00
Vadim Zeitlin
4c6f6059a4 Merge fixes for CVE-2016-0718 in Expat
This merges a branch with a (slightly tweaked to apply) copy of the
cve-2016-0718-fix-2-2-1 branch from the official Expat repository at
https://sourceforge.net/p/expat/code_git/

(cherry picked from 5817911863 in master)
2016-05-18 15:07:47 +02:00
Pascal Cuoq
06381b5d81 Do not compare an out-of-bounds pointer. See https://lwn.net/Articles/278137/ 2016-05-18 15:04:09 +02:00
Pascal Cuoq
779bfe99ee Avoid undefined behavior when computing larger blockSize. The compiler might reason that (end - start)*2 is negative only if (end - start) is negative, see https://godbolt.org/g/wVEoTM 2016-05-18 15:04:09 +02:00
Sebastian Pipping
5ea067da70 Complete XmlConvert return value handling 2016-05-18 15:04:09 +02:00
Sebastian Pipping
f88eff9cdb Do not grow pool to out-of-memory for incomplete input 2016-05-18 15:04:09 +02:00
Sebastian Pipping
63688b5e58 Make converters tell state on termination (v3) 2016-05-18 15:04:09 +02:00
Sebastian Pipping
c5efe0c7db Prevent out-of-bounds access in text conversion
* big2_toUtf8
* little2_toUtf8
* utf8_toUtf8
* utf8_toUtf16
2016-05-18 15:04:09 +02:00
Gustavo Grieco
66102231d3 Fix two integer overflows 2016-05-18 15:04:09 +02:00
Karl Waclawek
af6ef9555a Fix overflow (v2)
(Some post-processing by Sebastian Pipping)
2016-05-18 15:04:09 +02:00
Paul Cornett
088b79bd88 remove disabling comment accidentally committed in c6cf5ac 2016-05-15 09:19:20 -07:00
Paul Cornett
c6cf5ac91f Avoid resetting global cursor if no global cursor is set
see #17503

(cherry picked from commit 5819b9cbc5)
2016-05-15 09:07:44 -07:00
Robin Dunn
a36e071cd4 Fix parameter names in wxMediaCtrl::Load* methods 2016-05-14 23:48:31 -07:00
Paul Cornett
536ebb1bc4 Fix single line wxTextCtrl selection colors when foreground or background color is set with GTK3
see #17527
2016-05-14 11:38:56 -07:00
Eric Raijmakers
d8e6043602 Fix keyboard navigation crash in single column generic wxDataViewCtrl
Selecting a leaf node in a wxDataViewCtrl and then pressing the right arrow
key resulted in using an out-of-bounds index for accessing the columns list.

Fix this by setting the current column to the first one, and not to the second
one which might not exist.

See #17537.

(cherry picked from commit 5d671d8136)
2016-05-14 16:21:09 +02:00
Benjamin Drung
3cacee9d52 Define wxIsNaN() as std::isnan() in C++11 mode
std::isnan() is always available when using C++11, so just use it.

Also pout the test for C++11 implementations of both wxIsNaN() and wxFinite()
first, eventually the rest of the checks will become obsolete and will be
removed.

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

(cherry picked from commit bc41cbeb25)
2016-05-14 15:49:35 +02:00
Vadim Zeitlin
990ebe2dc2 Null-terminate arrays returned from wxCmdLineArgsArray
This is required for compatibility with the real argv array that this class is
supposed to emulate.

See #17531.

(cherry picked from commit 189e4c5024)
2016-05-13 15:42:45 +02:00
Jonathan Dagresta
143e55b8df Ensure wxGenericListCtrl item selected from keyboard is visible
When using the keyboard to select an item by typing the first characters of
its name, we need to make the item visible in addition to selecting it.

See #16336.

(cherry picked from commit 306597c4fa)
2016-05-13 15:34:43 +02:00
Robin Dunn
e44418ba2d Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-05-04 21:58:48 -07:00
Robin Dunn
acaa554c71 fix line endings 2016-05-04 21:57:14 -07:00
Dimitri Schoolwerth
99262787cb Revert "Create native buttons without any label in wxOSX/Cocoa"
This change is not any longer needed since the reversion of
05862e608d in
831f360787.

This reverts commit f0f83adecf.
2016-05-01 22:05:04 +04:00
Václav Slavík
c41dee9a0d Convert more CRLF files to use LF to fix git confusion
Continuation of commit a7644e7b05 -
forcing git to normalize _all_ affected files seems impossible.
2016-05-01 18:57:11 +02:00
Václav Slavík
831f360787 Revert "Only set native label if nonempty in wxWindowMac::SetPeer()"
This reverts commit 05862e608d.

See db9baf9aa5 for the reasons.
2016-04-30 18:58:47 +02:00
Vadim Zeitlin
adb48b3c72 Fix wxMSW wxMimeTypesManager compilation in UTF-8 build
Use wxStringCharType with wxS(), not wxChar (which should be used with wxT())
to fix UTF-8 build after a487dc88c1.

Closes #17335.

(cherry picked from commit 884f3c623d)
2016-04-28 17:13:38 +00:00
Václav Slavík
fc4cfd4b9b wxMSW: Fix display of file history items in menus
Unlike other platforms, wxMSW assumes natural text directionality (i.e.
right to left under RTL locales), but absolutely filenames are always
LTR because they begin with a Latin character. It is therefore necessary
to add  an explicit directional mark in front of them on Windows.
2016-04-23 17:22:05 +02:00
Václav Slavík
59531f9616 MSW: Fix dialog default positions under RTL locales
Toplevel windows use their parent's coordinate system as the reference
frame, not desktop's, so need to be adjusted accordingly if its
mirrored. Without these changes, default-positioned wxDialogs would end
to the right side of the parent window's right border (instead of being
slightly inside the window) and changing their size would move them as
well.
2016-04-23 17:21:44 +02:00
Václav Slavík
a7644e7b05 Convert all CRLF files to use LF to fix git confusion.
Having CRLF files in the repository with eol=crlf breaks just about
everything, e.g. any rebase/merge involving these files would fail.
Try to fix this by making sure the files use LF in the repository and CRLF is
only used in the working copy.

(analogous to commit c3e5751c36)
2016-04-23 17:20:42 +02:00
Vadim Zeitlin
59078ab545 Use correct size for the notebook background bitmap in wxMSW
Using "r.x + r.width" didn't really make much sense, it just happened to be
close enough to the real value to not create any problems when using LTR
layout, but was wrong in RTL, resulting in visible vertical line being visible
in the notebook client area.

Fix this using the same GetThemeBackgroundExtent() for determining the bitmap
size as is used for drawing over it.

(cherry picked from commit 0487a3d3f1)
2016-04-10 20:53:19 +02:00
Vadim Zeitlin
53588bd970 Fix background for children of windows with RTL layout in wxMSW
To correctly compute the brush origin offset for painting background of a
child in a window using RTL layout, we need to offset it by the child origin
i.e. its _right_ top corner in this case and not the left top corner as we did
before.

Conveniently, although not very explicitly, MapWindowPoints() already takes
care of this for us if we just pass it both the left and right points, but we
wrongly passed it only a single one, so it couldn't work its magic in this
case.

Change this to fix the drawing artefacts which appeared over wxNotebook
children with transparent background (e.g. wxStaticText) due to the use of
wrong origin before.

(cherry picked from commit 169fb2c7f5)
2016-04-10 20:53:15 +02:00
Micha Ahrweiler
fe7186ce88 Make OK button default in wxGTK wxMessageDialog by default
Under wxGTK the default button in wxMessageDialog with style wxOK was set to
"Cancel", whether the wxOK_DEFAULT style was specified or not.

Now it is set to "OK", as expected, and wxCANCEL_DEFAULT needs to be
explicitly specified to focus the "Cancel" one.

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

(cherry picked from commit a374801465)
2016-04-07 15:58:28 +02:00
Václav Slavík
f2c95c1d5c Fix wxCheckListBox checkbox rendering under RTL
When running under a RTL locale, checkboxes should not be mirrored, but
should keep the same appearence in both RTL and LTR layouts.

(cherry picked from commit 22f0801378)
2016-04-06 18:11:54 +02:00
Steve Browne
7b224881d0 Restore cwd even if wxFileDialog is cancelled in wxMSW
Sometimes the file dialog changes the current directory even if it is
cancelled, so restore it in any case, not only after successful return.

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

(cherry picked from commit ceaa840d7b)
2016-04-01 03:41:20 +02:00
İsmail Dönmez
f358979d35 Check for C/POSIX locale just after we truncate language string
This way we can correctly detect C.UTF-8 as C locale.

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

(cherry picked from commit 467dc72fc2)
2016-03-30 17:49:45 +02:00
Václav Slavík
34c54237fc Don't mirror wxStyleTextCtrl under RTL locales
Not onlu has Scintilla no support for RTL languages, it is rendered into
a mirrored DC on Windows and so guaranteed unreadable and unsable. Fix
it by explicitly setting the window's layout direction to LTR.

(cherry picked from commit d8a90b4606)
2016-03-28 17:41:18 +02:00
Václav Slavík
92d9101b3d Fix VC14 compiler warnings about hiding member variables 2016-03-23 14:48:19 +01:00
Václav Slavík
e744317d3a Disable warnings in the standard shlobj.h header with MSVC14
There is nothing we can do about these (harmless) warnings, so just
disable them. Also make sure that the header is included via
wx/msw/wrapshl.h  everywhere.

(backported from commit e37f1a84ce)
2016-03-23 14:47:24 +01:00
Vadim Zeitlin
2d6d4868a1 Disable warnings in the standard gdiplus.h header with MSVC14.
There is nothing we can do about these (harmless) warnings, so just disable
them.

(cherry picked from commit a2d6341e4f)
2016-03-23 14:38:09 +01:00
Vadim Zeitlin
234f7ff6e1 Suppress harmless warning in a standard header with VC14
imagehlp.h from 8.1 SDK contains an extraneous "typedef" in an enum
declaration which results in several warnings when building, avoid them.

(cherry picked from commit fbe7fc85b2)
2016-03-22 17:09:32 +01:00
Paul Cornett
a97553a939 Avoid unresizable windows on HiDPI displays when using SetSizeHints()
see #17456

(cherry picked from commit 4793e5b0a4)
2016-03-21 09:48:33 -07:00
Andreas Falkenhahn
60fd8c7a1b Fix wrong TLW size with horizontal decorations in wxGTK
Compare min/max width with m_width, not m_height, in GTKUpdateDecorSize() for
the logic to work as expected.

See #17455.

(cherry picked from commit 0777bf6b92)
2016-03-20 15:51:28 +01:00
zhivko
e9ffb3f662 Fix crash when updating art provider of a ribbon with scroll buttons
Don't leave the scroll buttons with the old, possibly soon to be deleted, art
provider pointer.

See #17441.

(cherry picked from commit 6e5a2b630a)
2016-03-15 20:24:06 +01:00
Vadim Zeitlin
8fb4e76a63 Avoid mixing code and declarations in C expat code
Some compilers, notably MSVC, don't support C99 and C89 doesn't allow this.

Fixes MSVS compilation after 02da4c8b1d.

(cherry picked from commit c7a3785a5c)
2016-03-14 00:15:42 +01:00
Václav Slavík
02da4c8b1d Update the version of Expat used to 2.1.1 2016-03-13 17:54:53 +01:00
Matthew Heinsen Egan
7c361b49e5 Report libraries in EXTRALIBS_WEBVIEW in wx-config output
These libraries should be included when "webview" appears in --libs or
--optional-libs.

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

(cherry picked from commit 037f697760)
2016-03-12 01:47:17 +01:00
Vadim Zeitlin
03903c1e45 Document wxEVT_MEDIA_XXX event types.
See #15768.

(cherry picked from commit 5c1f95bc71 on master)
2016-03-11 03:06:40 +01:00
Robin Dunn
57d31c1ae3 Merge pull request #4 from kollivier/wxPy-3.0-branch
Add custom context menu support to wxWebKitCtrl.
2016-03-03 20:48:19 -08:00
kollivier
b12644cfc9 Add custom context menu support to wxWebKitCtrl. 2016-03-01 10:56:57 -08:00
Danny Scott
966084a65a Add script for building MSVS 2015 binaries
See #17408.

(this is a backport of 7e493c3a3c from master)
2016-02-29 18:58:17 +01:00
Vadim Zeitlin
b010793ea8 Document wxEVT_MEDIA_XXX event types.
Closes #15768.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2016-02-27 17:32:48 -08:00
Robin Dunn
3d7d7aaea6 Merge pull request #3 from kollivier/wxPy-3.0-branch
Change the category to avoid duplicate symbol errors
2016-02-26 20:44:41 -08:00
kollivier
306deb2b6a Change the category to avoid duplicate symbol errors with the wxWebView implementation. 2016-02-26 17:29:45 -08:00
Robin Dunn
4e95f5c5f2 Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-02-26 16:10:21 -08:00
Robin Dunn
4571f007c6 Add cairo_surface_flush 2016-02-26 15:13:15 -08:00
Paul Cornett
9dccf621c8 Avoid comparing address of reference to NULL
(backport of 01ccff2e05)
2016-02-26 10:39:02 -08:00
Paul Cornett
47fd8835cf Avoid "Gtk-WARNING **: Allocating size to ..." with GTK+ 3.19+
(cherry picked from commit 9fea81c069)
2016-02-24 23:51:56 -08:00
Paul Cornett
7afbdcd534 Avoid "Gtk-WARNING **: State doesn't match"
See https://github.com/wxWidgets/wxWidgets/pull/232
(backport of 69a13d973c)
2016-02-24 21:20:08 -08:00
Paul Cornett
0388ce8e25 Allow SetClientSize() to set correct size even when size of window decorations is not known
This should allow correct sizing of first TLW (when using SetClientSize())
with backends using client-side decorations such as Wayland.

(cherry picked from commit bc4df78421)
2016-02-22 21:16:12 -08:00
Paul Cornett
2bc3721f06 Fix GetBestSize() for GTK3 after size has been set
Need to reset size request to get actual best size.
See Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=1282142

(cherry picked from commit 6ed7e27bf2)
2016-02-22 21:08:59 -08:00
Robin Dunn
20b4aa2ef9 Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2016-02-22 20:13:42 -08:00
Robin Dunn
a9ab946736 Applied PR #2 from RobinD42/wxWidgets by hand:
* Add SetSashSize to the interface for wxSplitterWindow.
 * Ensure Mac WebViews always retain their selection state, even when losing focus.
2016-02-22 19:55:11 -08:00
Artur Wieczorek
470a46dd48 Fix wxSearchCtrl vertical size in wxMSW
Don't add the borders twice, this made the control too tall.

Closes #16817.
2016-02-23 00:26:32 +01:00
Václav Slavík
d918dabb2d Fix inefficient delayed setting of wxSplitterWindow sash
If setting sash position to a value that cannot be satisfied due to
minimum size constraints, wxSplitterWindow would continue endlessly
trying and failing to set it, causing constant CPU use on OS X. This was
because delayed sash setting was invoked from idle handler and if it
failed, the code would repeat the same action again and again.

Instead, perform this delayed setting from OnSize handler. If setting
sash position failed in the first place, it must have been due to too
small size of the window. Therefore it's pointless to try again until
the size changes.

(cherry picked from commit 513fca5d4c)
2016-02-22 15:53:43 +01:00
Václav Slavík
d99d4568df wxMSW: Fix wxToolBar rendering with double-buffering
An old check - used for reasons that no longer apply - was preventing
correct rendering of wxToolBar background in wxMSW. Fix this by removing
the obsolete check.

See #9666 for the original reason for the check.

(cherry picked from commit 3a7951db2b)
2016-02-22 15:52:03 +01:00
Scott Talbert
73e9e18ea0 Fix STC compilation with GCC6
Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
with ambiguous overloads.

Closes #17147.

Closes https://github.com/wxWidgets/wxWidgets/pull/222
2016-02-21 01:47:41 +01:00
Vadim Zeitlin
e7d27c91e6 Try to always give wxDirDialog a valid parent in wxMSW
Use the same GetParentForModalDialog() method as for the normal dialogs to
find the parent to use for this native dialog and ensure that it is shown
modally even if no parent is explicitly specified when constructing it.

See #17384.

(this is a backport of baff0c942b from master)
2016-02-20 13:44:29 +01:00
Vadim Zeitlin
65c634ed80 Don't define interfaces inside anonymous namespace in wxMSW
IAutoCompleteDropDown interface was defined inside anonymous namespace to
avoid clashing with the same interface possibly (but not necessarily) declared
in the standard headers.

However gcc 4.9 is smart enough to realize that no classes deriving from a
class in an anonymous namespace can exist and so it devirtualizes the calls to
virtual methods of the objects of this type when compiling with optimizations
enabled. And it does it even if it means replacing the call to a virtual
method with just a call to __cxa_pure_virtual(), i.e. crashing during
run-time.

Prevent it from doing this by moving class declarations outside of the
anonymous namespace and fix the crash when using wxTextEntry::AutoComplete()
in the code compiled with g++ 4.9.

(this is a backport of 4475fe36a5 from master)
2016-02-12 00:15:09 +01:00
Paul Cornett
41be4271e1 Adapt window decorations cache for client-side decorations
Fixes size calculations for TLWs created after the first one,
with Wayland, Mir and Broadway. See #17336

(cherry picked from commit 91ea487281)
2016-02-05 10:29:29 -08:00
Vadim Zeitlin
6162570731 Update i18n overview in the manual.
Remove obsolete warning about gettext 0.10, add a link to Poedit instead.

Also fix Doxygen markup: @see can't be used inside a list item.

See #16714.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2016-01-30 14:10:32 +01:00
bogiord
2fdc7196a3 Fix docs for wxGrid and friends
Add a couple of missing @name commands; the corresponding comments were
appearing in the wrong place without them.

Avoid unintended effects of JAVADOC_AUTOBRIEF by using Qt-style comments
instead of Javadoc.

A couple of minor wording corrections.

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

(this is a backport of 9c95b398c8 from master)
2016-01-20 18:58:53 +01:00
bogiord
402219ed13 Add nullptr checks to wxGridTableBase::Set(Row|Col)Attr
wxGridTableBase::SetAttr (for cells) does check its attr parameter for
nullptr, but the check was missing from the row and column functions.
Adding it makes it possible to use a nullptr argument to reset the
attributes.

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

(this is a backport of e7fa9b0c10 from master)
2016-01-20 18:58:25 +01:00
Tim Kosse
6f5b629f2f Don't assert if Ctrl+Tab is pressed inside a wxGTK window
Ignore the WinChange flag in DoNavigateIn() to fix an assertion that happened
when pressing Ctrl+Tab with the generic wxListCtrl having focus.

This seems to be consistent with pressing Ctrl+Tab elsewhere, e.g. when
cycling between buttons in a dialog.

(this is a backport of f3cd79984f2936a4148964af8c23cd42aab6a871 from master)
2016-01-14 15:49:46 +01:00
Vadim Zeitlin
4e5e788bae Use correct format (%zu) for printing size_t values.
Fix assert due to using %d for printing 64 bit size_t values under Win64.

See #16974.

(this is a backport of 6c7c8b6d8d from master)
2016-01-14 15:41:44 +01:00
Paul Cornett
e39322c374 fix cursor unref for GTK2, broken by 148f5f3 2016-01-13 00:04:27 -08:00
Paul Cornett
8d87321215 remove incorrect cursor unref added in 148f5f3, see #17330 2016-01-13 00:04:12 -08:00
Pete Stieber
eed32268a2 Make wx/dirdlg.h safe to include as first wx header
Include wx/defs.h to get wxUSE_DIRDLG value from it, otherwise it could be
undefined, and hence evaluate to 0 (unfortunately without even a warning with
some compilers), if this header was the first wx header to be included.

(this is a backport of 5948602f4f from master)
2016-01-05 01:32:49 +01:00
Vadim Zeitlin
70faad3429 Fix GTK error wxApp::CleanUp() when GUI is not initialised
For the programs that use wxWidgets but can also run using just CLI, exiting
the program would show a bogus GTK error

GLib-GObject-CRITICAL **: g_type_class_unref: assertion 'g_class != NULL' failed

Fix this by only releasing the references to GTK_TYPE_WIDGET if we had
acquired it in the first place.

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

(this is a backport of e1f31febadea7d6277c7ee92c424ae7581e1d6d1 from master)
2016-01-05 01:31:48 +01:00
Troels Knakkergaard
d71d1a50e5 Use the appropriate parent for the choice dialogs
Fall back to the main application window if no parent was explicitly specified
using the standard GetParentForModalDialog() method.

See #17295

(cherry picked from commit 50435ef678)
2015-12-22 19:58:41 -08:00
Vadim Zeitlin
f0f83adecf Create native buttons without any label in wxOSX/Cocoa
Since the changes of db9baf9aa5 the label wasn't
explicitly reset to be empty on wxWindow creation because it was assumed it
would already be empty if not explicitly set, but this turned out to be false
for the controls using NSButton which (very helpfully) uses "Button" as its
label by default and so kept this useless label if it wasn't explicitly
overridden.

Fix this by explicitly resetting the NSButton title after creating it, to
ensure consistency between the real state of the control and what wxWidgets
thinks it is.

Closes #17152.

(cherry picked from commit ef1db7acda)
2015-12-22 19:57:26 -08:00
Troels Knakkergaard
46b534a194 Use document window as parent for "Save changes?" dialog
This ensures that the message box is centered on its parent window and not the
screen.

Closes #17295.

(cherry picked from commit 4ebb8d9837)
2015-12-21 08:09:59 -08:00
Paul Cornett
8cea217701 implement Flush() for wxImage wxGraphicsContext under Cairo and GDI+, see #16694 2015-12-20 10:25:52 -08:00
Paul Cornett
c2a38b2f92 flush Cairo surface before converting to wxImage
(cherry picked from commit cd27b73237)
2015-12-20 10:23:52 -08:00
Lauri Nurmi
61a3e328ef Add mouse wheel handling to wxGenericCalendarCtrl
Mimics the scrolling behaviour of native MSW and GTK calendars by allowing to
increment/decrement the month by scrolling anywhere on the generic calendar.

Additionally, use horizontal scrolling to increment/decrement the year.

Backport of 50daf1feab + 4177593aef
into WX_3_0_BRANCH.

See also 50daf1feab (commitcomment-13087042)
2015-12-19 16:16:42 +01:00
Bryan Petty
d82306cd2e Update apt sources in Travis CI builds. 2015-12-17 17:57:50 +01:00
Paul Cornett
70de382197 remove unused global variable
(cherry picked from commit 84a77c0c32)
2015-12-06 20:26:50 -08:00
Paul Cornett
f5fac50856 Fix generation of wxEVT_ACTIVATE_APP
Avoid spurious events when showing most native dialogs
See #17260

(cherry picked from commit d4d209dd39)
2015-12-06 20:11:54 -08:00
Robin Dunn
f9115e168e Another Python3 fix 2015-12-05 13:46:19 -08:00
Robin Dunn
0653f92049 Merge remote-tracking branch 'upstream/WX_3_0_BRANCH' into wxPy-3.0-branch 2015-12-05 13:34:45 -08:00
Robin Dunn
e2f5fad8db Some fixes for running the build script with Python3 2015-12-04 17:54:14 -08:00
Paul Cornett
5c4d565a68 check for macro '__sun' rather than 'sun', see #17258 2015-12-03 21:39:19 -08:00
Vadim Zeitlin
a487dc88c1 Fix modifying file type associations under MSW as non-admin
The existing code tried writing to HKEY_CLASSES_ROOT which doesn't work, in
general, for normal, i.e. non administrator, users, under any post-XP versions
of Windows.

Fix it to write to HKEY_CURRENT_USER\Software\Classes, which is the part of
HKEY_CLASSES_ROOT for the current user and to which we do have write access,
and only continue to use HKEY_CLASSES_ROOT itself for reading.

(this is a backport of 0ed580f451 from master)
2015-12-02 23:29:10 +01:00
Vadim Zeitlin
f5e966deeb Remove commented out code from wxMSW wxMimeTypesManager
Just clean up; we don't need all this old and unused code in this file.

(this is a backport of 0ed580f451 from master)
2015-12-02 23:27:48 +01:00
Vadim Zeitlin
13aa914019 Fix Cygwin build with wxUSE_STL==1
Use explicit c_str() when calling Cygwin functions taking char* or void*
instead of relying on implicit conversions.

(this is a backport of 09e7dc290c from master)
2015-12-02 17:02:54 +01:00
Robin Dunn
d04b62e1ae Add docs for some missing status bar methods 2015-12-01 17:57:19 -08:00
Robin Dunn
923d5865ec Look for newer SDKs, plus some future proofing. 2015-12-01 17:56:16 -08:00
Robin Dunn
759badb502 Merge branch 'WX_3_0_BRANCH' into wxPy-3.0-branch 2015-12-01 17:48:59 -08:00
Bryan Petty
80ceca14b5 Backport release script updates to 3.0. 2015-11-15 22:20:26 -07:00
Bryan Petty
4a23f03ede Normalize all the line endings. 2015-11-15 21:47:15 -07:00
Bryan Petty
1328f7043d Backporting git updates for 3.0 branch. 2015-11-15 21:45:07 -07:00
Bryan Petty
6ed2b8527f Add AppVeyor configurations for 3.0 branch. 2015-11-09 18:46:26 -07:00
Bryan Petty
669bf7e4c7 Backport .gitignore from current master. 2015-11-09 18:36:02 -07:00
Vadim Zeitlin
80f5928999 Use full paths when checking for existence in wxGenericFileDialog
Use full path to the selected file before checking whether it exists,
otherwise the check could fail even if the file does exist but the current
directory is different from the one it is in.

Closes #16698.

(this is a backport of 5846144614 from
master)
2015-11-10 01:56:27 +04:00
Paul Cornett
148f5f3dc9 fix GdkCursor memory leaks
(cherry picked from commit 3e75b231b0)
2015-11-02 08:52:03 -08:00
Paul Cornett
db668a136c avoid gdk_cursor_new(), deprecated in GTK+ 3.16 2015-11-02 08:29:31 -08:00
Paul Cornett
c1d150ed12 Fix drawing checkbox and radiobutton in checked state with GTK+ >= 3.14, see #17240
(cherry picked from commit ed817dd366)
2015-11-01 19:49:28 -08:00
Vadim Zeitlin
458bcb9546 Insert missing "@name" tags in wxTreeListCtrl documentation
This fixes the appearance of the different sections in the generated
documentation.

(this is a backport of 50ae059a67 from master)
2015-10-24 23:10:15 +02:00
Vadim Zeitlin
034684d476 Initialize wxAuiNotebookXmlHandler::m_isInside in ctor
See #15694.

Closes #17222.

(this is a backport of 7439c0951b from master)
2015-10-24 15:16:05 +02:00
Vadim Zeitlin
d3a5963258 Don't mention that wxVariant doesn't derive from wxObject
Because it still does, only wxVariantData does not.

See #17217.

(this is a backport of 165842423c from master)
2015-10-22 00:04:23 +02:00
Vadim Zeitlin
458616010e Remove wxString from the list of ref-counted classes
This is not the case any more since 3.0 and it actually never used the same
ref-counting model as the classes described in the ref-counting overview
anyhow.

See #17216.

(this is a backport of 876e0501d8 from master)
2015-10-21 23:52:20 +02:00
Vadim Zeitlin
c89cc865ca Fix wxLocale::IsOk() in case of initialization failure
Ever since 700256bbdb IsOk() returned true even
if setting the locale actually failed because the old locale was still set to
the null value.

Apply the minimal possible fix for this and just reset the old locale pointer
to null if initializing the locale fails to make sure IsOk() doesn't return
true in this case.
2015-10-18 22:07:03 +02:00
Vadim Zeitlin
821450a20c Reset the system last error value before checking it in wxLog test.
Explicitly set the last error indicator to 0 before checking that
wxLogSysError() logs it correctly as it wasn't always set to 0 otherwise.

(this is a backport of 2c64172825 from master)
2015-10-17 18:26:55 +02:00
Vadim Zeitlin
e093a3b1b4 Preserve Win32 last error in wxTlsKey::Get()
::TlsGetValue() resets the last error code which means that the previous last
error is lost, but it shouldn't as we might be in the middle of logging it
with wxLogSysError(). So preserve the last error explicitly.

See #17209.

(this is a backport of 5e29b26d9e from master)
2015-10-17 18:25:54 +02:00
Markus Juergens
56a3441663 Add better error checking to wxWebViewIE
Verify that accessing a property really succeeded before using the returned
value.

This should fix at least one crash due to the use of uninitialized BSTR in
wxWebViewIE::GetCurrentTitle().

See #17204.

(this is a backport of 4489ec80e0 from master)
2015-10-15 16:43:31 +02:00
Václav Slavík
668be48b65 Allow NSAttributedString in [wxNSTextFieldEditor insertText]
According to the documentation, insertText: argument is either NSString
or NSAttributedString. The latter is not a subclass of the former, yet
the code assumed the argument is always a NSString. This caused the
following exception:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
-[NSConcreteMutableAttributedString characterAtIndex:]: unrecognized selector sent to instance

Fix this by checking for NSAttributedString and extracting plain string
from it.

(cherry picked from commit 1acfe88347)
2015-10-13 14:53:01 +02:00
Vadim Zeitlin
d9d1917785 Fix crash when deleting items in wxTreeListCtrl
An invalid pointer was dereferenced after being deleted as ToDVI(item) checked
the item parent, i.e. used it, even though the item was already invalid.

Closes #17198.
2015-10-12 01:08:05 +02:00
Paul Cornett
def0cd59ea avoid gtk_widget_get_root_window(), deprecated in GTK+ 3.12
(cherry picked from commit a15e776dcd)
2015-10-10 12:54:18 -07:00
Paul Cornett
61460acef7 avoid GtkAlignment and gtk_widget_reparent(), deprecated in GTK+ 3.14
(cherry picked from commit 48459e3cd2)
2015-10-10 11:42:57 -07:00
Paul Cornett
f1707959d4 add compatibility header for older GTK3 versions
(cherry picked from commit a0173ec13e)
2015-10-10 11:40:07 -07:00
Paul Cornett
d3dba370da avoid gtk_widget_reparent(), deprecated in GTK+ 3.14
(cherry picked from commit f8e430e479)
2015-10-10 10:42:29 -07:00
Paul Cornett
41e5cd4506 fix wxTB_RIGHT toolbar positioning with GTK3
(cherry picked from commit 457182b7e2)
2015-10-10 10:11:42 -07:00
Jan van Dijk
349c905ffc Work around clang warning about side effects inside typeid().
This warning was harmless but very annoying as it was given for each and
every inclusion of this header.

Closes #16968.

(this is a backport of 5aae7c7387,
d2c1fce24e and
ec510a0c4b from master)
2015-10-10 09:52:48 +02:00
Cătălin Răceanu
4b9712582c Correct wxThread::Delete() default parameter documentation.
It is actually wxTHREAD_WAIT_DEFAULT and not always wxTHREAD_WAIT_BLOCK.

Closes https://github.com/wxWidgets/wxWidgets/pull/107
2015-10-05 00:32:08 +02:00
John Roberts
1c8e5a10ac Fix scrolling behaviour of wxSearchCtrl under OS X
Make it behave in the same way as single line wxTextCtrls do.

Closes #17178.
2015-10-03 18:11:38 +02:00
Paul Cornett
6f6bad4702 Avoid invalidating best size for foreground/background color change
(cherry picked from commit beffb32d2d)
2015-10-02 10:13:35 -07:00
Vadim Zeitlin
958515adc7 Copy fonts more faithfully and efficiently in wxGTK
Use pango_font_description_copy() to copy fonts instead of
pango_font_description_to_string() and pango_font_description_from_string()
via wxNativeFontInfo::{To,From}String() respectively.

This is not only more efficient but also preserves the original family whereas
wxNativeFontInfo::FromString() helpfully replaces any fonts it doesn't know
about with the normal font name. That behaviour is probably wrong on its own,
but for now at least avoid silently changing fonts when copying them.

(cherry picked from commit 07380ba0b5)
2015-10-02 09:23:44 -07:00
Paul Cornett
0f9f942a5b Fix memory leak introduced in 8f29de52
Also, use memcpy() instead of strcpy() since we already have the length,
and use static_cast instead of reinterpret_cast.
2015-10-02 09:14:06 -07:00
Tim Kosse
8be40b6789 include/wx/generic/private/widthcalc.h makes use of wxLogTrace, so wx/log.h needs to be included.
This fixes a regression introduced by commits b64e030f0c and c21ad5d9c2 which break compilation when configured with --disable-precomp-headers.
2015-09-29 10:35:07 +02:00
Vadim Zeitlin
9397570429 Remove wxOVERRIDE from backported columns width calculation code.
See #10326.
2015-09-27 12:04:44 +02:00
Kinaou Hervé
b64e030f0c Correct implement wxLIST_AUTOSIZE_XXX in the generic wxListCtrl.
Use both the contents and the header width when wxLIST_AUTOSIZE_USEHEADER is
given instead of just the latter.

Also make both wxLIST_AUTOSIZE_USEHEADER and the previously implemented
wxLIST_AUTOSIZE work efficiently for the virtual list controls by reusing
wxMaxWidthCalculatorBase already used in the generic wxDataViewCtrl.

Closes #10326.

(this is a backport of de7e315557 and
0e2d9e539c from master)
2015-09-27 11:57:13 +02:00
Vadim Zeitlin
c21ad5d9c2 Factor out wxMaxWidthCalculatorBase from wxDataViewCtrl code.
This will allow reusing it elsewhere, notably in the generic wxListCtrl.

See #10326.

(this is a backport of fa1c3ecfa6 from master)
2015-09-27 11:54:40 +02:00
Vadim Zeitlin
d68d0dd72f Build fix for wxOSX build with 10.6 SDK after last commit
OpenGL core profile constants only exist in 10.7 SDK, don't use them when
compiling with 10.6 one.

See #16402.
2015-09-23 03:37:36 +02:00
Vadim Zeitlin
f0e67ed517 Allow requesting core OpenGL profile and explicit OpenGL version.
Add WX_GL_CORE_PROFILE and WX_GL_{MAJOR,MINOR}_VERSION attributes which can be
used to use modern OpenGL with wxGLCanvas.

See #16402.

(this is a backport of 3c7ba39135 from master)
2015-09-23 03:18:33 +02:00
Vadim Zeitlin
3530c2ff95 Initialize wxFontRefData::m_sizeUsingPixels in wxMSW
Don't leave the variable uninitialized, even though it's not totally obvious
which value should it have for wxFontRefData objects created from native
fonts, using "true" seems more appropriate and is definitely better than not
initializing the field at all.

(this is a backport of 2f1e8c5402 from master)
2015-09-20 18:32:33 +02:00
Vadim Zeitlin
4276726f3c Document "expmode" argument of exported array macros
At least mention the previously missing "expmode" argument in the
documentation.

See #17156.

(this is a backport of 9589eaa113 from master)
2015-09-19 19:58:07 +02:00
Tim Kosse
8f29de5231 Escape filenames in wxFileDataObject::GetDataSize/GetDataHere
On wxGTK, wxFileDataObject::SetData calls g_filename_from_uri which
percent-decodes URIs. No corresponding percent-encoding was done in
wxFileDataObject::GetDataSize/GetDataHere. Use g_filename_to_uri instead in so
that filenames are properly escaped.

This commit also fixes the data being truncated if it contains non-ASCII
characters on wide-character builds, see the memcpy arguments in the original
code.
2015-09-14 11:45:25 +02:00
Tobias Taschner
401aa2a511 Replace usage of wxCFStringRef with wxStringWithNSString.
Usage of wxCFStringRef broke carbon build.
2015-09-11 15:05:44 +02:00
Vadim Zeitlin
db56c7bcb8 Merge branch '3.0-osx-fixes' into 3.0
Various fixes for wxOSX back ported from master.
2015-09-11 14:22:42 +02:00
Tobias Taschner
733eae83dc Fix OS X wxWebView ignoring JavaScript window.open() calls
On OS X (tested on 10.10.5) calls to window.open() with a different target
than _self were simply ignored. No navigation and no EVT_WEBVIEW_NEWWINDOW as
expected.

Unfortunately WebKit does not call the decidePolicyForNewWindowAction delegate
method in these cases. A new delegate method createWebViewWithRequest has been
implemented to handle this case and send EVT_WEBVIEW_NEWWINDOW as in other
ports.

Closes https://github.com/wxWidgets/wxWidgets/pull/86

(cherry picked from commit e6b31adefe)
2015-09-11 14:02:10 +02:00
Tobias Taschner
3251fa4156 Include Windows 10, VS2013 and VS2015 in docs.
Include Windows 10 in the documentation were appropriate.
2015-09-11 13:35:43 +02:00
Tobias Taschner
a75d5298b7 Use official name of Windows Server 2016.
Use the official name of Windows Server 2016 in wxGetOsDescription().
2015-09-11 13:21:17 +02:00
Paul Cornett
6cf902b407 Avoid bug in VS 2015 code generation
When using Whole Program Optimization, pItem->OnDrawItem() incorrectly calls the
base class wxOwnerDrawn::OnDrawItem() instead of the appropriate override, for
example wxCheckListBoxItem::OnDrawItem(). The problem can be avoided by not
using an unnecessary cast to wxListBoxItem*.

(cherry picked from commit 5905857dba)
2015-09-09 22:43:47 -07:00
Paul Cornett
8706f0f22c Improve link color getters, and suppress deprecation warnings
Use default colors when link style is not set

(cherry picked from commit 87202a9b02)
2015-09-07 20:21:55 -07:00
Paul Cornett
ef1c614df8 Show widget at GTK+ level regardless of "child visibility" status, see #17134, #4343
(cherry picked from commit 8bceeba143)
2015-09-07 09:44:40 -07:00
Paul Cornett
6b6832796a Avoid GCC warning: base class should be explicitly initialized in the copy constructor
(cherry picked from commit 67fadfbbf1)
2015-09-06 21:30:04 -07:00
Paul Cornett
641784c42a Use wx-prefixed macros in documentation 2015-09-06 21:13:49 -07:00
Paul Cornett
de402edc09 Fix null pointer check from 198d7c6c (r40919)
operator '?:' has lower precedence than '+'

(cherry picked from commit 845444f35f)
2015-09-06 21:00:14 -07:00
Paul Cornett
a0b56a2675 Implement SetVisited()/GetVisited()
and set the visited state when the link is clicked
(backport of 2fbd2a7800)
2015-09-03 09:40:23 -07:00
Artur Wieczorek
f239eba7b0 Fix bug when a wxToolBar tool is deleted from its click handler
Deleting a tool from its own event handler resulted in at least in an assert
and could also lead to a crash as an already deallocated pointer was
dereferenced.

Fix this by checking if the tool with the same ID is still available after the
event handler finishes.

Closes #16762.

(this is a backport of faffaaae29 from master)
2015-09-01 18:53:27 +02:00
Paul Cornett
234f081527 Add gtk_cell_renderer_set_padding() compatibility function
(cherry picked from commit 83ce88402c)
2015-09-01 08:44:23 -07:00
Paul Cornett
5a18f1caa0 Update internal sorting state in wxDataViewColumn::SetSortOrder()
This allows a subsequent wxDataViewModel::Resort() to actually work, see #15626

(cherry picked from commit e77c48331b)
2015-09-01 08:24:49 -07:00
John Roberts
3cae6b0b82 Don't show wxDatePickerCtrl as being disabled when it isn't in wxOSX.
Use setDrawsBackground: to fix the background colour and adjust the text
colour whenever the control is enabled or disabled.

Closes #16807.

(this is a backport of 9bedba0bf3 from master)
2015-08-26 15:59:39 +02:00
sbrowne
9153da02e7 Don't use extra margins around content of wxStaticBox in wxOSX.
This makes top and left borders for the controls inside the box the same as
right and bottom ones.

Closes #16808.

(this is a backport of bd177b0635 from master)
2015-08-26 15:59:38 +02:00
sbrowne
723e61a4b5 Adjust inset border values for OS X >= 10.6.
The bottom border was off by one pixel, use the values tested to work for OS X
10.[6789].

See #16808.

(this is a backport of cb0625b9d9 from master)
2015-08-26 15:59:38 +02:00
Tim Kosse
3379b053bd Don't allow rich text content in non-rich wxTextCtrl in wxOSX.
Explicitly disable rich text content and automatic quotation marks replacement
in normal multiline text controls to make them behave closer to single line
ones and also multiline ones on other platforms.

Closes #16805.

(this is a backport of 262ed2c133 and
 3465d659fee0313a6dc650074432c3c435e4a83e from master)
2015-08-26 15:59:20 +02:00
Tim Kosse
0329fe3e0a Fix initial position of controls with layout insets in wxOSX.
For such controls (e.g. wxButton, wxChoice, wxGauge), their initial position
was different from the one specified when creating them, even though calling
SetPosition() later did position them at exactly the position passed as
argument.

Closes #16780.

(this is a backport of a4681572cc from master)
2015-08-26 15:55:25 +02:00
mj_smoker
aefc0ecf82 Handle wxTE_PROCESS_ENTER with wxTE_PASSWORD correctly in wxOSX.
Controls with wxTE_PASSWORD style didn't send wxEVT_TEXT_ENTER even if they
also had wxTE_PROCESS_ENTER. Fix this by checking for the latter style before
mapping the enter presses to default button activation.

Closes #14930.

(this is a backport of 8e0799e3e5 from master)
2015-08-26 15:55:25 +02:00
sbrowne
53269a7cba Do use disabled control text color for wxStaticText in OS X.
Contrary to an old comment, using it seems to work, while using
secondarySelectedControlColor results in incorrect appearance, different from
the other disabled controls and, worse, makes the labels unreadable as their
colour is too close to that of the background inside nested panels.

Closes #10524.

(this is a backport of c269398588 and
 e7327959e06ae051a85622cbde9d0a6b7b1fba53 from master)
2015-08-26 15:54:52 +02:00
John Roberts
1b4a7cd671 Fix handling of "Cancel" button in wxSearchCtrl under OS X.
Pressing it results in a control action with an empty, but not null, string.
Recognize it correctly.

Closes #16869.

(this is a backport of 7065e26fb3 from master)
2015-08-26 15:53:39 +02:00
Rob Krakora
76ee2fa0a0 Implement sending wxIconizeEvent in wxOSX.
Translate windowDid{Miniaturize,Deminiaturize} callbacks to calls to
SendIconizeEvent().

Closes #16718.

(this is a backport of 31e1387541 from master)
2015-08-26 15:53:39 +02:00
John Roberts
f313ecf9b6 Fix wxSearchCtrl appearance under OS X 10.10 Yosemite.
Avoid centered look which renders the control unusable under this version.

Closes #16871.

(this is a backport of 563329f89f from master)
2015-08-26 15:53:38 +02:00
John Roberts
38e410a273 Fix generating events for WXK_NUMPAD_ENTER in wxOSX.
This allows to properly detected numeric keypad "Enter" key in the code,
notably in wxTextCtrl inside wxWidgets itself.

Closes #16415.

(this is a backport of 4f69410cd8 from master)
2015-08-26 15:53:38 +02:00
John Roberts
9fe3c3f774 Handle WXK_NUMPAD_ENTER correctly in wxOSX wxTextCtrl.
Basically just do the same thing for it as for WXK_RETURN.

See #16415.

(this is a backport of a79a2c0c8a from master)
2015-08-26 15:53:38 +02:00
John Roberts
acec4b363b Fix printing all pages without dialog prompt in wxOSX.
Do set from and to pages if we're not asking the user to choose them,
otherwise nothing is printed at all.

Closes #16294.

(this is a backport of 896e148da5 from master)
2015-08-26 15:53:38 +02:00
Vadim Zeitlin
2eb5cb50bb Don't keep using invalid wxSound object in the sound sample.
If creating a sound object fails, delete it to ensure that it is recreated
later.

This fixes a minor bug: previously, if an invalid file was used as sound file,
only the first attempt to play it resulted in an error and all the subsequent
ones were just silently ignored. Now every attempt to play an invalid file
results in an error message, as expected.

(this is a backport of a788351eb6 from master)
2015-08-26 15:53:38 +02:00
Vadim Zeitlin
37f97729c6 No real changes, just get rid of a variable in wxOSX wxSound code.
Don't define a variable which is used exactly once, testing for the async flag
directly is just as, or even more, readable and shorter.

(this is a backport of 605149ed07 from master)
2015-08-26 15:53:38 +02:00
Vadim Zeitlin
7d15904e1a Fix wxSound::Create() and IsOk() return values in wxOSX.
Don't pretend that we created wxSound object successfully without actually
doing it: this means that now passing an invalid (e.g. non-existent or using
wrong format) file to wxSound::Create()/ctor will return false/result in
IsOk() returning false later, just as in the other ports.

It also means that playing a successfully created wxSound object won't give
any error messages, as unexpectedly happened before.

(this is a backport of a6a3ad0d66 from master)
2015-08-26 15:53:38 +02:00
Vadim Zeitlin
7c81707a7e Add error handling to wxSound under wxOSX.
Don't assume that we can open any file as a sound, check for the return value
from AudioServicesCreateSystemSoundID().

(this is a backport of ba4d3d31a6 from master)
2015-08-26 15:53:37 +02:00
Tobias Taschner
d62674e81d Avoid run-time warnings for OS X version checks under 10.10+.
Implement workaround in UMAGetSystemVersion() function which produced the following
warning on the console for every application launch on OS X 10.10+:

WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead
of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct
system version number.*

Workaround for 3.0 branch instead of correct implementation in commit 658eca2896
2015-08-25 11:41:02 +02:00
Vadim Zeitlin
79676e1e9d Fix wxGTK build after wxLaunchDefaultBrowser() fix backport.
2dd407609b uses wxGetTopLevelGDK() only
available in master and not in 3.0 branch, avoid it by just using the default
screen (which also avoids having to add another GTK+ version check for
gdk_window_get_screen() which is only available since 2.24).
2015-08-24 17:20:58 +02:00
Cătălin Răceanu
e4eb6920fd Improve formatting of identifiers in wxTextCtrl documentation.
Render "std" in fixed-width font.

Closes https://github.com/wxWidgets/wxWidgets/pull/75

(cherry picked from commit 8d4d4c45b1)
2015-08-24 08:05:05 -07:00
Cătălin Răceanu
e9a5d5b7d1 Correct document of wxListView constructor.
The documented default values of constructor arguments didn't correspond to
the reality.

Closes https://github.com/wxWidgets/wxWidgets/pull/74

(cherry picked from commit f3da2e27e9)
2015-08-24 08:03:24 -07:00
dasimx
eed42abba5 Don't change the clipboard in wxNotebook::SetPageImage() in wxOSX.
For some reason the implementation of this method (see #12754) also put the
image on the clipboard, which was completely unexpected and unnecessary, so
just don't do it.

Closes https://github.com/wxWidgets/wxWidgets/pull/77

(cherry picked from commit 10a4d15b27)
2015-08-24 07:49:17 -07:00
Paul Cornett
bb89014bc2 Fix clipped cell contents with custom renderers and GTK3, see #17116
(cherry picked from commit b1fa69a2ce)
2015-08-20 21:16:29 -07:00
Paul Cornett
65b17ab188 fix wxHyperlinkCtrl opening URL twice, see #13813
(cherry picked from commit 0ff96c620f)
2015-08-18 23:06:52 -07:00
Paul Cornett
2dd407609b use gtk_show_uri() in wxLaunchDefaultBrowser() implementation for GTK+
(cherry picked from commit 22eec38806)
2015-08-18 23:06:30 -07:00
JulianSmart
2611aeca04 Corrected wxRTC font dialog spin button behaviour 2015-08-18 16:42:45 +01:00
Paul Cornett
51e766093e IsShown() now returns false for non-selected wxNotebook pages, see #4343 2015-08-15 11:09:03 -07:00
Václav Slavík
05862e608d Only set native label if nonempty in wxWindowMac::SetPeer()
Some native controls don't take kindly to being set setStringValue: with
a value invalid for the control (such as empty string for
NSPathControl). Don't do this if the label is empty anyway to avoid
problems with wxNativeWindow when the underlying native control is like
that.

(This is backport of db9baf9 from master)
2015-08-15 18:56:53 +02:00
Vadim Zeitlin
f8249a7275 Don't process events handled in user code in generic scrolling code.
Undo the change introduced, probably accidentally, by r11369 (12 years ago)
and skip the default handling of all events except wxEVT_SIZE and wxEVT_PAINT,
which are special for the reasons explained in the comments in the code, if
the user code has already handled the event.

This allows to customize scrolling by selectively handling some scrolling
events only and generally makes sense.

Closes #15684.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
(cherry picked from commit de54520c95)
2015-08-10 09:22:09 -07:00
Paul Cornett
f5dccf312d enable wxGraphicsContext offset for wxMemoryDC, see #17091
(cherry picked from commit 941834fd0e)
2015-08-10 09:09:54 -07:00
Paul Cornett
b8abf338c8 Make rectangle size the same as is drawn by raster-based wxDCs
Outlined rectangles are one pixel larger with vector-based drawing,
adjust them to get consistent behavior.
Ellipses do not appear to need adjustment.
See #17091

(cherry picked from commit 4623c5ad9c)
2015-08-09 22:08:20 -07:00
Paul Cornett
20448fbcd3 Fix wxListBox mouse wheel scrolling with GTK3
Allow default handling for GDK_SCROLL_SMOOTH when we don't handle it. Closes #17097

(cherry picked from commit bf6f3e35e8)
2015-08-09 21:05:10 -07:00
Tobias Taschner
3e7579d733 Fix wxGetWinVersion() for Windows 10
Check for Windows 10 was implemented as check for version 6.4 but the final version of Windows 10 actually returns 10.0.
2015-08-05 20:37:49 +02:00
Tobias Taschner
f7b8fdd275 Fix wxGetOsDescription() for Windows 10.
Check for Windows 10 was implemented as check for version 6.4 but the final
version of Windows 10 actually returns 10.0.

(this is a backport of c87c432033)
2015-08-05 20:30:45 +02:00
Fulvio Senore
097466149a Don't show the last page number when printing if it wasn't defined.
Show just the current page in the printing progress messages if the last page
has its default "infinitely big" value.

Closes #16987.

(cherry picked from commit 1cd916fc0a)
2015-08-04 20:46:41 -07:00
Olly Betts
1033ba59d2 Fix typo in GetOperatingSystemDescription() docs.
Fix the case of wxGetOSDescription() in the link.

Closes #17003.

(cherry picked from commit 716656ae47)
2015-08-04 20:40:49 -07:00
Catalin
2bf36da6ba Improved wxStandardPaths docs.
(cherry picked from commit e606d83e88)
2015-08-04 20:38:33 -07:00
Catalin
bed07cc212 Correctly map MAC_CHARSET to wxFONTENCODING_MACROMAN in wxMSW.
Recognize MAC_CHARSET when mapping MSW charsets to wx font encodings.

(cherry picked from commit 6e72126894)
2015-08-04 20:33:30 -07:00
Vadim Zeitlin
7bc0fe7e58 Ensure we never create empty bitmap in wxHtmlWindow::OnPaint().
Doing this resulted in an assert from wxBitmap ctor and was useless anyhow,
just skip the drawing code if the window is reduced to empty client area.

(cherry picked from commit bede8a3296)
2015-08-04 20:22:02 -07:00
Simon Richter
0ebeb6fa73 Remove duplicate code from wxGTK wxDataViewCtrl.
Code checking got wxDATAVIEW_CELL_INSENSITIVE was repeated twice, leave just
one copy of it.

Closes #17047.

(cherry picked from commit 711827a6ee)
2015-08-04 20:21:07 -07:00
Vadim Zeitlin
a5cf08fcbd Correct wxAuiNotebook::SetUniformBitmapSize() documentation.
This function used the same documentation as Split() for some reason, document
it correctly now.

Closes #17049.

(cherry picked from commit b7f3d0d752)
2015-08-04 20:20:21 -07:00
Vadim Zeitlin
6de38c1f0e Document wxDC::{Set,Get}Logical{Scale,Origin}() functions.
They are relatively important, especially the origin-related ones as
SetUserScale() can (should?) be used instead of SetLogicalScale(), but
SetLogicalOrigin() can be more convenient than SetDeviceOrigin(), so provide
at least skeletal documentation for them.

(cherry picked from commit 394b04b7e4)
2015-08-04 20:19:11 -07:00
Vadim Zeitlin
17e6fa15c5 Skip drawing empty AUI panes.
This seems to be unnecessary and generates GTK+ warnings as it results in
passing rectangle with negative (after accounting for padding/margins) size to
gtk_paint_box() in wxAuiGtkTabArt, as could be seen e.g. when closing
"wxTextCtrl 2" tab in the aui sample.

(cherry picked from commit 1f16829c01)
2015-08-04 20:15:07 -07:00
Vadim Zeitlin
b0c688d810 Fix assert when adding controls to wxAuiToolBar.
The code was always wrong as it added the control to a new sizer when it was
still element of an old one, but this went unnoticed until the changes of
efce9b2306 which now trigger an assert.

Fix this by deleting the old sizer, and thus breaking the association between
it and the controls inside it, before adding the controls to the new one.

Closes #17080.

(cherry picked from commit 0e5f3612df)
2015-08-04 20:14:42 -07:00
Vadim Zeitlin
a45354d3ed Correct the documentation of wxFrame ctor parent argument.
It doesn't result in the frame floating over its parent, this is what
wxFRAME_FLOAT_ON_PARENT style is for, it just means that the frame is
minimized/restored when its parent is.

(cherry picked from commit 6339837ffa)
2015-08-04 20:12:57 -07:00
Vadim Zeitlin
417d242e77 Provide correct documentation for wxWindow::SetPosition().
Just refer to Move(), this is trivial but necessary as otherwise Doxygen
"helpfully" reuses the first comment in the section for the otherwise
undocumented SetPosition() which didn't make any sense at all.

(cherry picked from commit 949d2eeaa5)
2015-08-04 20:11:55 -07:00
Vadim Zeitlin
90cec63a53 Don't use "u" option with ar(1).
It seems like it was never really needed as we always delete the archive
before creating it anyhow and there is no advantage in "updating" it if it
doesn't exist. Worse, with recent ar versions (like the one from binutils 2.25
in Debian Sid), using "u" results in a somewhat unclear warning

ar: `u' modifier ignored since `D' is the default (see `U')

so just get rid of it to avoid the warning.

(cherry picked from commit 004b5a4f49)
2015-08-04 20:11:12 -07:00
Vadim Zeitlin
adf521dea2 Handle GTK_POLICY_EXTERNAL new in GTK+ 3.16 too.
Apparently this still doesn't display any scrollbars in the window itself, so
from our point of view it is equivalent to GTK_POLICY_NEVER.

(cherry picked from commit 2509e7927a)
2015-08-04 20:05:04 -07:00
Paul Cornett
d6403135e3 reset clipping region in DestroyClippingRegion(), see #17086 2015-07-30 09:58:01 -07:00
Vadim Zeitlin
82db53ca1a Expat compilation fix for pre-C99 compilers.
Don't mix statements and declarations, this is not allowed in C89.

Fixes compilation with MSVC <= 10 after 74da7cba07

See #17083.

(this is a backport of 9b029ea88a from master)
2015-07-30 00:59:17 +02:00
Paul Cornett
35acf46cc4 use delete for memory allocated with new 2015-07-27 10:32:50 -07:00
Vadim Zeitlin
74da7cba07 Fix arithmetic overflow in the bundled Expat library.
This is a modified version of the patch from Mozilla (see
https://hg.mozilla.org/releases/mozilla-esr31/rev/2f3e78643f5c) which was also
applied to Chromium. This version prefers to use the buffer of the correct
size instead of just returning an out-of-memory error if the size needed is
relatively (but not extraordinarily so, e.g. just slightly more than 64KB in
32 bit builds) big.
2015-07-27 00:45:26 +02:00
Paul Cornett
8d2772eaf2 avoid shadowed variable warnings with VS2015 2015-07-24 20:55:10 -07:00
Vadim Zeitlin
21dc1a1d4f Blind fix for wxTextDataObject trailing NUL under OS X.
Use the length provided to SetData() instead of assuming it is NUL-terminated.

Closes #9522.

(this is a backport of 20c130a578 from master)
2015-07-17 14:35:26 +02:00
Paul Cornett
312ae4c92c Fix wxSpinButton best size for GTK+ 3.12 and later, see #17051 2015-07-16 07:13:27 -07:00
Vadim Zeitlin
e315ef02c8 Remove wxOVERRIDE not available in 3.0 branch.
Fixes compilation after backporting wxHTTP-in-worker-thread fixes from master.

See #17031.
2015-07-10 13:46:58 +02:00
Vadim Zeitlin
6e5b6521a5 Update HDC in wxDC::SetLogicalScale() in wxMSW.
Unlike the similar (identical?) SetUserScale(), this function didn't call
RealizeScaleAndOrigin(), add it now for consistency.

(this is a backport of 75794137f605328e2d3e6a45106f30b8ac268cbb from master)

See #17053.
2015-07-09 21:01:30 +02:00
Vadim Zeitlin
e62173c479 Fix using wxHTTP and wxFTP from worker thread in Unix ports.
This backports e18c8fd29a,
d421373c2e and
6c43aa90b6 from master to avoid crashes when
using wxHTTP or wxFTP from threads other than main.

See #17031.
2015-07-09 20:59:38 +02:00
Vadim Zeitlin
b08ca17749 Fix MinGW build with wxUSE_LOG==0.
Don't apply Watcom workaround for empty vararg log functions to MinGW, it
doesn't seem to need it and using it actually breaks compilation of the code
in wxWidgets itself when wxLogSysError() is used with wxString argument.

Closes #17048.
2015-07-07 00:00:49 +02:00
Leland Lucius
0797a6f875 Fix accessibility support in wxMSW.
Return the correct result from handing WM_GETOBJECT message.

Closes #17058.

(this is a backport of 6a435345f5 from master)
2015-07-06 23:56:48 +02:00
Paul Cornett
4db8d55913 Avoid using gdk_window_freeze_updates() to implement Freeze()
Implement Freeze() by blocking the GtkWindow "expose-event"/"draw" signal
instead. Since the introduction of client-side windows in GTK+ 2.18,
gdk_window_freeze_updates() is unuseable because the impl_window (and thus the
update_freeze_count) for a given GdkWindow can change unpredictably. See #16795
2015-06-24 08:42:49 -07:00
Vadim Zeitlin
918d46e2cc Add a check for wxSocketServer creation to the unit tests.
This should prevent an assert failure which happens if we call Accept() on an
invalid server below and also confirm if the server creation really failed or
not.
2015-06-24 01:24:47 +02:00
Vadim Zeitlin
53745b5cce Brazilian Portuguese translations update from Philippe. 2015-06-23 18:11:24 +02:00
Vadim Zeitlin
432ff59772 Make wxVSCROLL explicitly of int type.
Its value (0x80000000) is outside of the int type range on 32 bit platforms,
but we still want to allow using it as an initializer of int and/or long
variables for consistency with the other types, so cast it to int explicitly
to suppress -Wnarrowing warnings from recent g++ which were given when doing
this before.
2015-06-21 16:00:57 +02:00
Vadim Zeitlin
01f62c0295 Avoid warnings about narrowing casts in the long long tests.
Recent g++ versions give -Wnarrowing warning when a value outside of the type
range is used to initialize a variable of this type in { }. Avoid it in the
long long tests using explicit casts as we already cast between long long and
unsigned long long values here anyhow.
2015-06-21 16:00:55 +02:00
Vadim Zeitlin
ec434c918a Avoid g++ 4.8.2 bug that resulted in infinite loops in the test suite.
g++ 4.8.2, shipped with Ubuntu 14.04, generates incorrect code for checking
the loop termination condition, resulting in never ending loops in
HashMapTest().

Disable the optimizations for this function for 4.8.[012] as the bug seems to
be fixed in 4.8.4 and several similar (but not really identical) bug reports
in gcc bugzilla have been fixed in 4.8.3.

This should allow the unit tests on Linux buildbots, using 4.8.2, to run to
completion again.
2015-06-21 02:44:56 +02:00
Vadim Zeitlin
ce80118b9e Fix reading beyond end of buffer in UTF-16 decoding code.
Verify that incrementing the input pointer doesn't take us outside the buffer.
Still accept a single trailing NUL as the string terminator.
2015-06-21 02:44:37 +02:00
Vadim Zeitlin
0e0809b5f5 Avoid reading one char beyond the buffer end in UnicodeTestCase.
Valgrind complains about reading beyond the end of buffer when using glibc
std::string for wxString implementation under amd64 Linux. Don't suppose that
the buffer has one extra null word at its end to avoid this.
2015-06-21 02:44:33 +02:00
Vadim Zeitlin
8b4dbf8ebf Fix mismatched new[]/delete in a test case.
Use wxDELETEA() as the comment said we did -- except that we didn't.
2015-06-19 19:59:51 +02:00
Vadim Zeitlin
77fb8cb8c1 Fix TDM-GCC warning about int to pointer cast.
Use wxUIntToPtr() to suppress the warning, we know that the cast here is safe
because Windows uses only pointers fitting in the UINT range for the menu (and
other) handles.
2015-06-14 20:37:33 +02:00
Vadim Zeitlin
2ea1d3fc19 Correctly deinitialize wxUxThemeEngine in wxMSW.
Set ms_isThemeEngineAvailable to -1, meaning that we need to reinitialize
themes, instead of false, meaning that themes are not available.

This fixes problems when the library is initialized, shut down and then
initialized again.

Closes #17023.
2015-06-14 19:38:17 +02:00
Vadim Zeitlin
90a523da71 Add better error checking and simplify wxWebViewIE::DoSetPage().
Don't ignore errors (this resulted in warnings in optimized builds because
variable "hr" containing the error code to was assigned but never used) and
don't leak memory in the (admittedly unlikely) case an error really occurs.

Also don't duplicate the code for creating a one element SAFEARRAY<VARIANT>,
extract it into a helper function.
2015-06-14 19:24:13 +02:00
Vadim Zeitlin
49fb8c25f5 Check that __cplusplus is defined before checking its value.
Avoids harmless in this case warning about __cplusplus being undefined in
comparison.
2015-06-14 15:55:08 +02:00
Vadim Zeitlin
5ac3c9ac7a Provide empty wxDECL_FOR_STRICT_MINGW32() in non-MinGW case.
Fix the build after aa30a2f97a which forgot to
define wxDECL_FOR_STRICT_MINGW32() macro when MinGW was not used at all.
2015-06-14 15:45:27 +02:00
Vadim Zeitlin
0c14584842 Fix harmless signed/unsigned comparison warning in wxMSW wxTreeCtrl.
Don't cast NMHDR::code field to int, this cast was added in the previous
millennium, probably to work around the wrong definition of NM_DBLCLK in some
ancient MinGW headers, but nowadays all MinGW distributions (tested with
MinGW 4.8.1, MinGW-64 4.9.1 and TDM-GCC 4.9.2) define it correctly and so
using this cast results in a warning -- just remove it to get rid of it.
2015-06-14 15:12:19 +02:00
Vadim Zeitlin
1db615c190 Work around a bug in MinGW math.h.
Including standard math.h header with both -O2 and -std=c++NN options results
in compilation error due to a bug in the header, see MinGW bug report at
https://sourceforge.net/p/mingw/bugs/2250/

Work around this to allow the library to compile in release build with
-std=c++11. This is ugly but better than failing to compile at all.
2015-06-14 15:06:19 +02:00
Vadim Zeitlin
aa30a2f97a Fix building and using the library with MinGW -std=c++{98,11} options.
These options enable "strict ANSI" mode in MinGW which omits declarations of
POSIX functions from the standard headers. To allow the library and, possibly
even more importantly, the user code including our headers, to compile with
these options, declare the functions that we need ourselves.

This might appear to go against the spirit of "strict ANSI" mode, but the only
alternative would be to not use such functions at all and silently cripple the
library when -std=c++NN is used, compared to -std=g++NN case, and this doesn't
seem appealing neither.

Closes #16984.
2015-06-14 15:06:19 +02:00
Vadim Zeitlin
e2410de134 Suppress warnings about missing field initializers for wxKeyNames.
This warning is harmless but annoying, especially because it's given a couple
of dozens times in this file, so just suppress it.
2015-06-14 15:06:18 +02:00
Vadim Zeitlin
2632977f6b Don't attempt using <type_traits> with g++ 4.9.2 in C++98 mode.
g++ 4.9.2 added support of __has_include() but, unlike clang, refuses to
compile the <type_traits> header that is detected as existing now in C++98
mode, so the build was broken with it when not using configure (i.e. under
MSW).

Fix this by, first, testing for C++11 compilers separately (which seems like a
good idea anyhow as it will allow using these headers with other compilers)
and, second, not trusting g++ __has_include() for C++11 headers in C++98 mode.
2015-06-14 15:06:18 +02:00
Vadim Zeitlin
0e3867c967 Remove default argument value from wxIHTMLElement2::setExpression().
This doesn't make much sense for an interface declaration anyhow and produces
a warning from g++ about assigning string literal to (non-const) BSTR pointer.

(this is a backport of eb18bbc8fd from master)
2015-06-14 15:06:17 +02:00
Vadim Zeitlin
70da6f7488 Make wxTextCtrlOleCallback destructor virtual to avoid g++ warnings.
This class doesn't really need a virtual dtor as it's never used
polymorphically, but add it to avoid g++ warnings about it.

(this is a backport of 8ad1e2698f from master)
2015-06-14 15:06:17 +02:00
Vadim Zeitlin
1e2af26e47 Recognize MSVC 14 a.k.a. Visual Studio 2015 compiler.
Interpret internal compiler version value 1900 as VC14. Notice that this
required adjusting the computation of the internal version from the
user-visible one because VC13 was skipped (hopefully no black cats crossed
paths with the manager responsible for this decision).

See #16854.

(this is a backport of f350bab from master)
2015-06-13 18:34:54 +04:00
Vadim Zeitlin
c06c8edb5a Don't redefine snprintf() for MSVC 14 in libtiff.
This MSVC version does add snprintf(), finally, and doesn't allow
pre-#defining it before including its stdio.h, so don't do this.

See #16854.

(this is a backport of 0a41db1 from master)
2015-06-13 18:32:08 +04:00
Vaclav Slavik
fd08f641ae Call SetThreadUILanguage() on Windows
Starting with Vista, SetThreadLocale() does basically nothing and does
not affect UI language. We need to call SetThreadUILanguage() as well
from wxLocale::Init() to have the locale reflected in e.g. standard
dialogs.
2015-06-10 18:32:49 +02:00
Vadim Zeitlin
264f01824b Don't end converting prematurely on encountering consecutive NULs.
Don't stop converting subsequent chunks just because the length of one of them
was 0: this can happen if the first character of a string is a NUL or if there
are two (or more) NULs in it later.

Simply remove the check for this and continue as usual even in this case.

Also add a unit test verifying that we do translate NULs in input into NULs in
output.

Closes #16620.

(this is a backport of f99ff49 from master)
2015-06-08 14:06:23 +04:00
Stefan Csomor
b67dea6fc0 In order to get all focus set events, store field in editor and catch
becomeFirstResponder there

See #14269.

(this is a backport of cea11b5 from master)
2015-06-08 02:44:11 +04:00
Stefan Csomor
6a961dd2d9 Allowing reentrancy on NSPanels makeResponder as in NSWindow
See #14269.

(this is a backport of 3ba1c7e from master)
2015-06-08 02:44:11 +04:00
Stefan Csomor
7dc6d1876e Refactoring to common code for updating selections, using common focus
code

See #14269.

(this is a backport of e65104f from master)
2015-06-08 02:44:11 +04:00
Stefan Csomor
6749ca7405 Refactoring to common code for focus set and lost events, so that
changes can be made a single place

See #14269.

(this is a backport of 2b99f92 from master)
2015-06-08 02:44:11 +04:00
Stefan Csomor
8d2956100f Using the base class wxHAS_NATIVE_ENABLED_MANAGEMENT in Cocoa
disabling/enabling child windows

Fixes #16232, fixes #15495.

(this is a backport of 91f25e0 from master)
2015-06-08 02:44:11 +04:00
Dimitri Schoolwerth
97eb03c9a7 Re-enable symbols visibility support for the Clang compiler
Visibility support for Clang was disabled in 7198c33 because of linking
errors when building shared libraries, related to non-inline methods in
exported template classes.

The last Clang version to have these problems is version "4.1
(tags/Apple/clang-421.11.66)" as part of Xcode 4.5.2, and the next
release fixes them (version "4.2 (clang-425.0.24)", Xcode 4.6). Check
for the Clang version and only disable visibility support when compiling
with Apple Clang < 4.2.

Note that Apple Clang 4.2 is based on official Clang 3.2 so also check
for that version in case of non-Apple builds. The only official Clang
that has been tested successfully is 3.4 which worked fine with
visibility. Other versions that were tried (3.1 and 3.2) segfault while
compiling wx.

(this is a backport of 7cacde3 from master)
2015-06-08 02:36:52 +04:00
Vadim Zeitlin
2923d95264 Fix flickering when resizing a frame with status bar in wxMSW.
The flicker was only visible under Windows XP or when using a class theme
and was due to mis-positioning the status bar initially in PositionStatusBar().
Fix this by adjusting its position by the toolbar offset before calling its
SetSize().

Closes #16705.

(this is a backport of 8d12e07453 from master)
2015-06-01 00:15:48 +02:00
Dimitri Schoolwerth
9a922899de Fix unused variable warning in wxRichText
Don't define variable 'bottom' which is initialised but not
referenced any longer (since ab4b767).
2015-05-31 04:53:59 +04:00
Vadim Zeitlin
4b073ab140 Fix recently added wxFileName::MakeRelativeTo() unit test for non-Unix.
Don't hard code the use of slashes as path separators.

(cherry picked from commit ef30f6fe63)
2015-05-31 03:51:06 +04:00
Vadim Zeitlin
0eb1658ca7 wxOSX: don't call strlen() on possibly null pointer.
Use wxCharBuffer::length() instead, this is more efficient and safer as it
correctly returns 0 in case the conversion fails.

Closes #9967.
2015-05-29 16:37:05 +02:00
Vadim Zeitlin
b3b8d8c4a8 Compilation fix after stray wxFALLTHROUGH in the last commit.
Remove wxFALLTHROUGH backported from trunk but which doesn't exist in 3.0.

See #17010.
2015-05-29 16:32:14 +02:00
Vadim Zeitlin
de891ddb03 Fix wxFileName::MakeRelativeTo() for directory relatively to itself.
The expected result in this case is ".", but the filename became empty instead
when wxPATH_NATIVE was used.

Fix this by examining GetFormat(format), which takes care of mapping
wxPATH_NATIVE to its real value, instead of wxPATH_NATIVE itself.

Also add a unit test verifying that this works as expected.

Closes #17010.
2015-05-29 16:25:45 +02:00
Artur Wieczorek
a029ac7690 Revert "Add wxABI_VERSION guard around wxFloatProperty::DoGetAttribute virtual method body."
This reverts commit 192a61b391.
2015-05-27 22:12:37 +02:00
Artur Wieczorek
192a61b391 Add wxABI_VERSION guard around wxFloatProperty::DoGetAttribute virtual method body.
To prevent compilation errors (when wxABI_VERSION < 30003) also the body of newly overridden method needs to be guarded by wxABI_VERSION.
(See 7b25b65a2f).
2015-05-27 19:43:23 +02:00
Vadim Zeitlin
7b25b65a2f Add missing wxABI_VERSION checks and version script entries.
Newly overridden virtual methods must be taken in wxABI_VERSION checks as
otherwise any program using the class deriving from the one containing this
method would reference the method in the vtbl of that class and so become
ABI-incompatible with the earlier shared library versions.

Also add wxABI_VERSION guard around the entire wxSimplebookXmlHandler class
added in 3.0.2.
2015-05-27 15:07:05 +02:00
JulianSmart
877b972d8f Use OnEndSession/OnQueryEndSession events instead of calling the functions directly. 2015-05-26 12:10:07 +01:00
JulianSmart
ab4b7674c0 Fixed clipped borders on scaled-to-fit images, and fixed a floating image layout bug. 2015-05-26 11:47:54 +01:00
Paul Cornett
0ed1e641d2 backport mouse capture fixes 00cc023 and dc555a9
this change was supposed to be part of 69c7a8c405
2015-05-13 20:19:45 -07:00
Paul Cornett
69c7a8c405 backport mouse capture fixes 00cc023 and dc555a9
00cc023 "fix releasing mouse capture before showing modal dialog"
dc555a9 "notify all windows in capture stack about capture lost, and empty the stack"
closes #16647
2015-05-13 10:13:49 -07:00
Paul Cornett
a2f1bc1fde Fix wxPrintDialog when used directly, see #16821 2015-05-11 10:14:34 -07:00
Iwbnwif Yiw
3f4304f6ab Update wxGrid correctly in presence of hidden rows/columns.
Use GetRowHeight()/GetColWidth() instead of accessing m_rowHeights/m_colWidths
arrays directly as the functions handle the hidden rows/columns correctly.

This fixes bug with corruption of wxGrid appearance if any rows/columns were
inserted into or deleted from a grid containing some hidden rows/columns.

Closes #16980.
2015-05-10 03:17:53 +02:00
Kevin B. McCarty
8277848a5f Don't assert in wxGenericFileCtrl if there is no selected file.
Don't use the list control item if there is no selection in it.

Closes #16684.
2015-05-09 18:57:42 +02:00
Knut Petter Lehre
d1f3be5846 Fix adding blocks to existing selection in wxGrid by Ctrl-drag.
Allow using Ctrl-dragging to add more blocks to the existing selection,
similarly to how spreadsheets work.

Closes #14141.
2015-05-09 18:03:06 +02:00
Vaclav Slavik
7c108690e5 Add LANG_FRISIAN win32 record for wxLANGUAGE_FRISIAN 2015-05-01 11:38:51 +02:00
Vadim Zeitlin
56b30625d0 Guard against NULL m_fileHistory in wxDocManager::OnMRUFile().
Don't crash if wxDocManager was created with "initialize = false" ctor
argument in which case m_fileHistory remains false.

Closes #16973.
2015-04-29 14:08:14 +02:00
Paul Cornett
acc9d5db2f Fix GTK warnings after 92c45ba when TLW is closed while editor is still shown, see #16850 2015-04-26 11:02:26 -07:00
Paul Cornett
92c45ba41d Fix drawing of cell editing controls with GTK3
Get rid of the ugly and unnecessary hack of making the control a child
of the GtkTreeView "behind its back", which was a terrible idea and
bound to cause problems.
See #16850
2015-04-24 09:50:53 -07:00
Vadim Zeitlin
82d4f005d3 Measure wxBitmapComboBox height correctly if it has images.
This fixes a regression introduced in 45e216b (see #14279):
wxBitmapComboBox must be higher than a normal wxComboBox if it has big
enough bitmaps. Closes #16690.

This is the backport of 7e869a5 from master.
2015-04-24 03:53:41 +04:00
Dimitri Schoolwerth
52975d72fd Work around failing file watcher test under XP.
Under only Windows XP the test FileSystemWatcherTestCase::TestTrees fails
during the RmDir(treedir) call (SHFileOperation strangely returns
ERROR_DIR_NOT_EMPTY). To make the test pass remove the treedir first and
only then the singledir. This is merely a workaround while the actual
problem is still to be investigated.

This is the backport of 2d5ce25373 from
master.
2015-04-23 00:39:41 +04:00
Vadim Zeitlin
03adb6fd2e Ensure that wxTestableFrame is shown on the (main) screen.
Undo the accidental commit of local modifications in
13a119cca8 .

This is the backport of 498f07a5b2 from
master.
2015-04-22 17:05:35 +04:00
Vadim Zeitlin
12b857a329 Fix infinite loop when deleting columns from wxTreeListCtrl.
Wrong variable was checked in the loop adjusting the columns values resulting
in an infinite loop.

Closes #16955.
2015-04-22 14:50:33 +02:00
Vadim Zeitlin
35a3ca5a1e Disable wxSleep() test case for buildbot builds.
This test keeps failing just because the buildbot machine are too heavily
loaded. This is not really an error, so just avoid running this test there.

This is the backport of f641dfd7 from master.
2015-04-22 14:27:06 +02:00
Vadim Zeitlin
5f003c9ffb Avoid using negative width in generic wxTimePickerCtrl.
If there is not enough space for the text, make it of size 0, not negative.

Closes #16960.
2015-04-22 14:15:22 +02:00
Paul Cornett
eb4aab5639 Avoid "Gtk-Message: GtkDialog mapped without a transient parent", closes #16863 2015-04-21 21:44:35 -07:00
Vadim Zeitlin
c2543cd474 Fix using custom paper format in wxOSX.
Do actually use the custom paper object the code creates.

Closes #16959.
2015-04-21 15:56:52 +02:00
Vaclav Slavik
b6d3a64fae Don't check for always-available CGColorCreateGenericRGB
This function is available on OS X since 10.5, which is the minimum
supported version of wx 3.0.

Fixes Xcode 6.3 warning triggered by checking availability of a symbol
that wasn't marked as weak_import.
2015-04-19 13:15:09 +02:00
Vadim Zeitlin
52c8a3684c Disable surrogate-related unit test for MSW.
This test can't work when the in-memory representation is UTF-16, as we can't
convert surrogates to anything else in this case.

This fixes the unit tests broken since r76622, see #16298.

This is the backport of 0bb7676889 from master.
2015-04-19 01:45:20 +02:00
Paul Cornett
0c02b05d92 Avoid freeze count mismatches with GTK 2.18+ when impl_window changes while frozen, see #16795 2015-04-17 08:45:55 -07:00
Vadim Zeitlin
84f6686e39 Avoid warnings about not checking chdir() result in wxGTK.
Give error if changing directory when wxFD_CHANGE_DIR or wxDIRP_CHANGE_DIR
flags are used, this is a good idea generally speaking and it also avoids
warnings about not checking chdir() return value that we got under Ubuntu.

This is the backport of 3f6741a770 from master
with the changes of cb06ecb9eb and
de27f4b08f too.
2015-04-17 13:36:04 +02:00
Vadim Zeitlin
feef92f3e2 Avoid warnings about not checking read() result in wxJoystick code.
Explicitly ignore errors if we can't read from the associated FD.

This is mostly done to avoid -Wunused-result warning about not checking read()
return value under Ubuntu.

This is the backport of a74d2faf3a from master.
2015-04-17 13:34:36 +02:00
Vadim Zeitlin
ce62dc893a Yet another wxStopWatch unit test fix for buildbot.
Relax the check in RestartBug() test too, the time can be slightly smaller
than expected (by ~2ms on disc-xp machine).

This is the backport of 7af8598903 from master.
2015-04-17 13:33:18 +02:00
Vadim Zeitlin
f3fb8fa7c6 Fix harmless warning in ownerdrw sample.
Don't define an unused variable.

Also don't use wxT() unnecessarily.

This is the backport of cd6fb7a9bd and
a1902c1456 from master.
2015-04-17 13:31:24 +02:00
Vadim Zeitlin
210040016e Fix harmless warning in wxCommandProcessor::IsDirty().
This fixes the warning for MSVC, which warned about "forcing value to bool
'true' or 'false'", without introducing one for gcc which would complain if we
compared the value, of compatibility_iterator type, with NULL.

This backports the changes of r75445 and r75653 from master.
2015-04-17 13:27:49 +02:00
Vadim Zeitlin
669c5cd64c Replace anonymous namespace with a named one in the test helpers.
This should avoid clang warnings about the function in anonymous namespace
being unused.

This is the backport of r76928 from master.
2015-04-17 13:26:20 +02:00
Stefan Csomor
b6c6afad93 Fix warning due to wrong use of NULL in wxOSX wxSound.
This is the backport of the old r76862 from trunk.
2015-04-17 13:20:47 +02:00
Vadim Zeitlin
4ed9b1e244 Relax another check in wxStopWatch unit test.
Increase the upper bound even further to avoid spurious failures in the
buildbot builds.
2015-04-13 15:56:46 +02:00
Vadim Zeitlin
a19e20d36e Give more details in GarbageTestCase unit test.
Try to find out why this test fails in the OS X buildbot builds.

Use macros to ensure that all checks provide information about the bitmap (or
animation) type they fail for, without having to repeat the same code for
doing it many times.
2015-04-13 00:13:28 +02:00
Vadim Zeitlin
597ec59a0b Compare scaled images approximately in the unit tests.
Comparing them exactly results in tests failures when using compiler version
different from the one that was used to generate the test fails, see
http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/151149/focus=151154
and other messages in the same thread.
2015-04-13 00:05:41 +02:00
Vadim Zeitlin
ea07bb0beb Fix libtiff warnings about int to pointer conversions.
As with the previous commit, make an exception to the usual rule of not
changing 3rd party code to get rid of the annoying warnings appearing in each
buildbot libtiff rebuild.
2015-04-13 00:03:39 +02:00
Vadim Zeitlin
1eb2d9f6fe Fix annoying and otherwise unavoidable libtiff warning.
This warning appears in each buildbot build (which is wrong on its own as
libtiff configure shouldn't forcefully regenerate its output config.h every
time neither -- but currently it does) and is annoying as it distracts from
the other warnings, so suppress it even if usually we don't do it for the
warnings in 3rd party code.
2015-04-13 00:03:25 +02:00
Vadim Zeitlin
02f7f0dd32 Relax wxStopWatch test to make it less likely to fail on buildbot.
Be prepared for sleeping taking more time than we budget for it on a highly
loaded machine such as a buildbot slave.
2015-04-12 22:46:46 +02:00
Vadim Zeitlin
0f17babfd9 Disable TextCtrlTestCase::LongText() for non-MSW platforms.
At least under GTK SetMaxLength(), tested by this test, can't be used with
multiline text controls at all, so running it fails. Keep the test for MSW
only where SetMaxLength() works with controls of all kinds.
2015-04-12 19:41:41 +02:00
Vadim Zeitlin
114223fbbb Restore OnRun() in the non-GUI unit test suite.
Commit 3e67b1ef68 broke the test suite in
non-GUI case, we still need to override OnRun() then to run the tests.

Also make it more clear that m_exitcode is only used in the GUI case.
2015-04-12 18:50:21 +02:00
Vadim Zeitlin
c9a2a685cf Fix the unit test suite exit code in case of failure.
Return the program exit code from the (overridden) OnRun(), not OnExit(),
doing it from the latter didn't work since many years.

The failures in the GUI tests will be detected by buildbot now.
2015-04-12 17:52:34 +02:00
Vadim Zeitlin
fc2eab62aa Check for "buildbot" user in IsAutomaticTest().
The new buildbot setup runs the code under this user, so adjust the check for
running under buildbot to detect it.
2015-04-12 17:52:33 +02:00
Vadim Zeitlin
f99cd0b2e1 Accept wxALIGN_CENTRE_HORIZONTAL in wxStaticText XRC handler.
In addition to wxALIGN_CENTRE, also accept this one (and its US variant).

Closes #16943.
2015-04-12 17:27:23 +02:00
Vadim Zeitlin
5a00ab896b Accept wxALIGN_CENTRE_HORIZONTAL in wxMSW wxStaticText too.
Previously it only handled wxALIGN_CENTRE, also the documentation switched to
wxALIGN_CENTRE_HORIZONTAL in 72e88d8ea3 and
preceding commits.

See #16943.
2015-04-12 17:26:43 +02:00
Vadim Zeitlin
6dba08aead Disable another wxStopWatch test case in the build bot builds.
We can't rely on the program waking up quickly enough when running on the
(loaded) buildbot machines, better to skip this test than to have spurious
failures.

This is a backport of 5de9b53902 from trunk.
2015-04-10 19:49:46 +02:00
Vadim Zeitlin
46c335c8ef Generate wxEVT_SPINCTRL of the correct wxSpinEvent type.
Handlers for this event expect to get wxSpinEvent but wxMSW and wxGTK1 sent an
object of base wxCommandEvent class which resulted in invalid memory access in
the handlers when using the derived class methods such as Veto().

See #16948.
2015-04-10 16:37:46 +02:00
Vadim Zeitlin
fa44ff601e Fix wxVector3f ctor in the propgrid sample.
Even if this code is not used, it was still wrong as it didn't initialize the
(shadowed) member variables, so fix it to actually do it.

See #16342.
2015-04-07 00:09:14 +02:00
Vadim Zeitlin
95d8daae1a No real changes, just removed unused variables from samples.
Don't define constants which are never used to avoid clang
-Wunused-const-variable warnings.
2015-04-07 00:08:11 +02:00
Vadim Zeitlin
b6d0e176c0 Use NULL, not false, for a pointer.
No real changes, just fix clang warning about returning "false" from a
function returning a pointer.
2015-04-07 00:04:49 +02:00
Vadim Zeitlin
b46b5a2a06 Fix the expected size of the header logo on www.wxwidgets.org.
The image has been updated in the website repository and online, update its
expected size to reflect it and fix the unit test suite.
2015-04-03 16:42:31 +02:00
Vadim Zeitlin
9a9ea0c295 Fix bug with clearing shared alpha channel in wxImage::ClearAlpha().
Allocate our own exclusive copy of the data before modifying it, otherwise
calling ClearAlpha() would clear alpha not only for the image it was called on
but also for all the other images sharing data with it.
2015-04-01 14:38:14 +02:00
Vadim Zeitlin
62f8950e0e Fix vertical alpha adjustment in wxPixelData<wxImage>::Offset().
Handle "y" parameter correctly when offsetting m_pAlpha, it was just ignored
before, i.e. Offset(x, y) and OffsetY(y) always behaved as if y were 1.
2015-04-01 14:20:10 +02:00
Stefan Csomor
2a13ad64d8 Fix wxOSX build under 10.10.
Use proper types for webkit variants.

Closes #16329.
2015-03-22 01:01:47 +01:00
Vadim Zeitlin
41e459627e Fix format specifiers used in wxLog::LogLastRepeatIfNeeded().
Use "%u", not "%lu", for an unsigned parameter to fix asserts under 64 bit
platforms.

Closes #16918.
2015-03-22 01:00:36 +01:00
Vadim Zeitlin
2efa1da0d2 Fix regression in wxMSW wxDC::SetAxisOrientation().
Don't mix signed/unsigned integers in arithmetic operations when normalizing
wxDC scale factors: variable holding GCD value should be of the same type as
variables holding devExt and logExt to avoid wrong results of /= operation
when dividend is a negative value.

Closes #16908.
2015-03-20 00:23:56 +01:00
Vadim Zeitlin
f05b626b3b Don't use wxLog from wxWakeUpMainThread() in wxMSW.
This can result in infinite recursion as wxLog calls wxWakeUpIdle() which
calls wxWakeUpMainThread() again if PostThreadMessage() fails.

See #16841.
2015-03-12 16:38:10 +01:00
Scott Talbert
5d33768022 Ensure the PangoFontFace type is loaded.
This works around problems with using wxFontDialog from wxPython.

Closes #16820.
2015-03-12 15:22:52 +01:00
Vadim Zeitlin
c4f569ed60 Avoid refreshing not currently visible items in generic wxListCtrl.
This is useless at best and resulted in GTK+ warnings because we ended up
(somehow -- is there another bug lurking here?) with negative items height in
this case.

Closes #16862.
2015-03-02 14:39:45 +01:00
Vadim Zeitlin
c477605bda Fix TZ handling in wxDateTime::ParseRfc822Date().
When the TZ offset specified in the RFC 822 string was equal to the local TZ
offset but the date fell in the DST period, the result was one hour off.

Fix this by converting the date to the UTC explicitly, and then converting it
back to the local TZ to ensure that the DST is taken into effect.

See #15370.
2015-02-26 00:55:33 +01:00
Vadim Zeitlin
7ffa1c4d3a Fix typo in DateTimeTestCase::TestParseRFC822() method name.
No real changes, just s/Parce/Parse/
2015-02-26 00:54:59 +01:00
Vadim Zeitlin
8bbe683f61 Fix using RegisterHotKey() with negative IDs in wxMSW.
This was broken due to a wrong cast from WPARAM (i.e. 32 bit unsigned int in
Win32) value containing the ID to WORD (i.e. 16 bit unsigned short) which
truncated the ID value.

Notice that MSDN documents the requirement for the IDs to be positive, but
negative IDs seem to work, at least with Windows 7, after this fix.

Closes #16880.
2015-02-25 19:44:48 +01:00
Artur Wieczorek
82106a9d9e Allow use of all wxPG colours.
Restore original list of wxPG-specific colours. wxPG-specific colours are added to the colour database when wxColourProperty is created (already existing colours are not overwritten by wxPG ones).

This is the backport of r76893 and r76894.
See #15597.
2015-02-22 22:50:45 +01:00
Artur Wieczorek
baf965ef30 Fix wxPGChoices::Set method.
There is no need to check if referenced array with values is valid since "reference cannot be bound to dereferenced null pointer in well-defined C++ code". Moreover, conditional call of wxPGChoices::Add() methods (one with explicit parameter and one with default one) is not necessary.

This is the backport of r78343.
See #16759 (http://trac.wxwidgets.org/ticket/16759).
2015-02-21 12:15:26 +01:00
Artur Wieczorek
2d8da317c1 Initialize wxPGChoices object properly in its copy ctor if source object has no data.
Internal data must be always initialized whether the source object contains choices data or not.

This is the backport of r78484.
See #16855.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-17 20:52:59 +00:00
Artur Wieczorek
f6bf3de76d Refresh property grid when property is switched to read-only state.
Property grid is refreshed to reflect the new state of the property.

This is the backport of r76875.
See #16306.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-17 20:42:15 +00:00
Robin Dunn
0225897079 Add some missing default ctors and Create methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-16 21:42:16 +00:00
Artur Wieczorek
a3735c8cc1 When drawing wxPG items (with double buffering) use the same layout direction as the window uses.
Memory DC used for double buffering purposes should inherit layout direction from the window DC to ensure that texts are rendered correctly.

This is the backport of r76931.
See #15797.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-16 20:50:07 +00:00
Artur Wieczorek
63e678d978 Fix saving edited property value when wxPG property is in the 'invalid value' state.
When wxPGProperty is loosing focus in 'invalid value' state its pending value should be stored before resetting property to 'normal' state because this operation (wxPG::OnValidationFailureReset) also resets pending value.

This is the backport of r77887.
See #16587.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-16 20:38:33 +00:00
Vadim Zeitlin
fd7ea006e9 Increase the buffer size used for the host names in wxIPaddress.
This avoids failing to set the host name if the system /etc/hosts file has any
host names that wouldn't fit in our buffer: at least under Linux/glibc,
gethostname_r() returns error if any such names exist even if we don't ask for
them.

Closes #16641.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-16 01:05:32 +00:00
Vadim Zeitlin
c2a4475d08 Fix wxDV_ROW_LINES drawing when horizontally scrolled in generic version.
Use the correct, i.e. logical, as wxDC does the translation to physical
internally, coordinates for drawing the highlighted rows.

Closes #16815.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-15 22:54:39 +00:00
Vadim Zeitlin
1cfd935c26 Use non-static reentrancy guard in wxScrollHelper::AdjustScrollbars().
This prevented calls to AdjustScrollbars() of another window from doing
anything if they were called due to a size change from AdjustScrollbars() of
an outer window.

Closes #16852.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-14 19:09:39 +00:00
Vadim Zeitlin
e22fcf204e Fix coordinates of wxSetCursorEvent in wxGTK.
The event coordinates remained in the client coordinates of the window the
initial event had been sent to, even when the event was propagated to its
parent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-14 15:04:55 +00:00
Vadim Zeitlin
14c29db79c Correct wxInfoBar::ShowMessage() flags argument documentation.
The default value is wxICON_INFORMATION, not wxICON_NONE.

Closes #16861.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-14 14:46:28 +00:00
Dimitri Schoolwerth
5964643206 Update XML Tools URL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-13 21:49:06 +00:00
Paul Cornett
edc127ed8d More complete fix to avoid GDK assertion "impl_window->update_freeze_count > 0" on Ubuntu.
Any frozen window in the whole TLW could be affected, not just a child of the enabled window.
Also do a more complete search for scrollbars.
Closes #16795


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-12 06:12:16 +00:00
Paul Cornett
e88904ccad build fix for __WXUNIVERSAL__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-11 18:11:07 +00:00
Paul Cornett
66780715c0 avoid GDK assertion "impl_window->update_freeze_count > 0" on Ubuntu when enabling frozen window
closes #16795


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-11 18:05:15 +00:00
Robin Dunn
ade77e30cf Ignore code that is preventing stock data format IDs from being used
with custom data objects.
2015-02-09 20:13:34 -08:00
Paul Cornett
e19a2263bd don't assume size-allocate implies a widget is realized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-09 18:19:14 +00:00
Bryan Petty
e1ebfd29ac Backport r78447: Updated logos in the reference manual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-04 17:58:08 +00:00
Paul Cornett
bb3dcf85fb set transient parent for 'about' dialog, closes #16823
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-02 18:31:24 +00:00
Paul Cornett
0e6f0bd5fa use logical operator, rather than bitwise, on bools, closes #16824
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-02 17:23:55 +00:00
Paul Cornett
d988a94acb avoid passing invalid rect to Refresh(), closes #16819
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-01 18:06:06 +00:00
Artur Wieczorek
e268d561a6 Fix vertical positioning of text field in the combo box editor associated with wxPG property under wxMSW.
Vertical position of text field in wxOwnerDrawnComboBox control (instantiated at property selection) doesn't need any special adjustment.

This is a backport of r77687.
See #16556.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-02-01 11:14:34 +00:00
Václav Slavík
89f490a4ca Avoid unneeded use of wxLocale in wxDateTime::Format()
On OS X, wxDateTime::Format() uses wxString::Replace() to
unconditionally replace locale-specific %c, %x and %X specifiers in the
format string if present. Doing so causes three wxLocale::GetInfo()
calls that are often not necessary.

Check for the presence of these  specifiers before calling GetInfo().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-30 15:53:19 +00:00
Václav Slavík
6e35d4bc6b Handle 5+ letter codes in TranslateFromUnicodeFormat()
Unicode TR #35 v26 allows for five-letter (MMMMM) or even six-letter
(EEEEEE) forms of some of the fields, but TranslateFromUnicodeFormat()
asserts in these situations.

Fix it to fall back to short forms for MMMMM and EEEEEE that are used in
practice e.g. on OS X if the user has custom formatting settings.

Consulting the table of sensible specifiers from
http://userguide.icu-project.org/formatparse/datetime, it appears these
two were the only omissions in this function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-30 15:53:17 +00:00
Vadim Zeitlin
f047d93c6a Fix wxEVT_TREE_STATE_IMAGE_CLICK generation in wxMSW wxTreeCtrl.
Use GET_{X,Y}_LPARAM() to extract them from the event position, which handle
negative coordinates (and coordinates can perfectly well be negative when
using multiple displays) correctly, unlike {LO,HI}WORD().

Closes #16812.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-27 11:49:44 +00:00
Václav Slavík
14f052a768 Allow disabling SetProcessDPIAware() call
Add Windows-specific wxMSWDisableSettingHighDPIAware() function then can
be called before startup (i.e. wxEntry() call) to disable wxWidgets'
handling of DPI awareness. This is useful for code embedded in non-wx
applications as well as for purely wx application that are not
HiDPI-ready (although the latter has the option of forcing
dpiAware=false in the manifest).

See also https://groups.google.com/d/msg/wx-dev/Z0VpgzCY34U/f1FfPqGDppMJ
and #16116.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-24 15:00:03 +00:00
Julian Smart
f4ac4fcab6 Remove selection before container is deleted or it could cause a crash later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-21 14:31:04 +00:00
Václav Slavík
30ebabc9d0 Use wxNB_MULTILINE in wxPreferencesEditor
The size of the dialog in wxPreferencesEditor's generic implementation
is determined from notebook pages alone and doesn't account for label
size, which may be significantly longer in some languages (German,
Danish). If the labels don't fit into the window, some of the tabs are
hidden behind scroll buttons that are easy to overlook.

Improve usability by using wxNB_MULTILINE, which will use multiple rows
of tabs in this situation. This is what e.g. Internet Explorer does in
its preferences as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-20 15:26:56 +00:00
Tim Kosse
1bc8f00b82 Fix memory leak introduced in r78183: wxMenuItemBase::SetAccel does not take ownership of the passed pointer nor keeps it for later use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-20 15:01:19 +00:00
Vadim Zeitlin
a2d8746ba7 only flush a client dc if it was not inheriting the native CGContextRef from an outside paint context, fixes #16334
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-08 14:11:05 +00:00
Vadim Zeitlin
c489816251 Fix wxBitmap conversion to wxImage in 64-bit wxOSX builds.
Don't assume that sizeof(long) == 4, this is just wrong.

Closes #16770.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-06 20:08:25 +00:00
Tim Kosse
440e477ea7 On wxMac, modal event loops avoid deleting pending objects. Hide the text control after editing a label in the generic tree control so it does not remain visible e.g. if the tree control is used in a dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-05 12:49:41 +00:00
Vadim Zeitlin
ef5232d289 Fix wxFileDialog::GetFilterIndex() when opening files in wxOSX.
Update m_filterIndex in the "opening" case, just as we already did in the
"saving" one (see #13158 and r67550).

Closes #16764.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2015-01-03 20:45:13 +00:00
Robin Dunn
4ae6049401 a commit to test Trac/SVN integration. Closes #16754
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-31 23:36:18 +00:00
Robin Dunn
d2f140abff just another test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-31 22:25:00 +00:00
Robin Dunn
618e1a1891 just a test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-31 22:20:45 +00:00
Vadim Zeitlin
e91a996fa4 Make disabling submenus work in wxMSW.
As submenu items don't have a valid ID, we need to address them by their
position when calling EnableMenuItem() -- and for simplicity do it for all the
items.

Closes #16747.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-27 14:17:51 +00:00
Vadim Zeitlin
7a8cfc7964 Fix handling of fast clicks in wxRibbonBar under MSW.
Second click can result in a double click event instead of the usual simple
click if it happens quickly enough after the first one, so handle double
clicks in the same way as simple clicks instead of ignoring them.

Closes #16551.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-27 14:17:46 +00:00
Tim Kosse
a2b3702934 Add Windows 10 support to wxGetOsDescription(). Map Windows 10 to wxWinVersion_8 in wxGetWinVersion() to not change ABI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-20 10:15:51 +00:00
Paul Cornett
2decc6f669 guard functions with wxCHECK_* macros rather than wxASSERT_*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-17 17:44:06 +00:00
Vadim Zeitlin
01b12b8839 No real changes, just fix some typos in comments in the samples.
Closes #16734 (for 3.0).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-16 20:15:56 +00:00
Vadim Zeitlin
f7cf6e1e9e Fix inserting tools removed from wxToolBar back into it in wxMSW.
Make sure to reset the "to be deleted" flag we set on the tool when removing
it from the toolbar to avoid layout problems if the tool is added back later.

Closes #16735 (for 3.0).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-16 20:15:51 +00:00
Stefan Neis
e086d73560 No real changes, just fixed a couple of typos in comments, fixes #16726.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-14 11:12:31 +00:00
Paul Cornett
1f054661a4 Allow setting icon before m_widget is valid.
There is no need to require a valid m_widget,
the "realize" handler will take care of things later.
Closes #16731


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-13 17:40:29 +00:00
Tim Kosse
c7e52048e6 In wxMBConvStrictUTF8::ToWChar the length of a multibyte UTF-8 sequence is obtained from a table, with the leading byte as offset. Later in that function, the prefix of the leading byte is compared against the expected prefix for the given length.
Unless the table is faulty, this comparison can never fail. It is thus redundant and not needed. As optimizing compilers aren't smart enough yet to detect this, this commit removes the redundant check.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-11 20:31:31 +00:00
Paul Cornett
7a50451196 avoid generating wxEVT_CHAR when WriteText() is called from wxEVT_CHAR handler, closes #16717
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-11 18:34:37 +00:00
Václav Slavík
ef6a412dcf Don't crash on OS X on exit if -NS* argument used
When converting argv[] from char* to wchar_t* in ConvertArgsToUnicode(),
keep an extra (shallow) copy of argc and the argv[] array so that it can
be safely freed in FreeConvertedArgs().

The reason is that other functions such as wxApp::Initialize() may
modify argv[] and remove some arguments from it; this is indeed exactly
what wxOSX does. After such changes, gs_initData.argv would no longer be
in the original state and could contain e.g. duplicate pointers or be
missing some of the pointers that we should free.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-07 16:40:39 +00:00
Vadim Zeitlin
24490bc933 Remove .cvsignore files from expat sources.
These files shouldn't be included in the distribution and it's simpler to just
remove them, as it is pretty unlikely that a new Expat release is going to be
made, and even less likely that it would still use CVS if it does happen, than
to filter them out from the distribution creation scripts.

Closes #16711.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-07 13:46:30 +00:00
Vadim Zeitlin
70f3c3023d Don't keep out of date column widths in generic wxDataViewCtrl.
The cached widths need to be invalidated whenever an item is expanded or
collapsed, whether it's done programmatically (which was already handled) or
interactively by the user (which wasn't).

Closes #16678.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-05 22:15:28 +00:00
Václav Slavík
f0c6aa2478 Xcode project: src/regex must be in non-user search path
Otherwise it wouldn't be included as <regex.h> and the system copy would
be used. We need to always use the builtin, wxChar-aware copy.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-05 15:56:02 +00:00
Robin Dunn
163f2169ed Allow explicitly selecting the carbon build since it is not the default anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-27 22:23:49 +00:00
Robin Dunn
a20ff140f1 Add gtk3 build support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-27 22:23:31 +00:00
Václav Slavík
8ce2d4d9ea Refresh PO files after accelerators changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-25 19:05:24 +00:00
Václav Slavík
c37ab7266f Improve wxAcceleratorEntry::ToString() formatting
This method used the wxKeyNames[] array originally intended for parsing
accelerator specification and not for human-friendly formatting. In
particular, non-alphanumeric keys such as WXK_DOWN and many others were
formatted using all-uppercase name, which was highly unusual and not
native on any platforms (the only unaffected one was OS X).

Improve the formatting by doing the following:

a) use Title case for the entries; because parsing is case-insensitive,
   this has no effect on it;
b) add display_name field for keys where the symbolic name wasn't
   appropriate for display and set it for some of the keys that are
   likely to show up in menus;
c) add explanatory comments for translators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-25 19:05:10 +00:00
Václav Slavík
bfd939027c Extract translator comments into wxstd.pot
Extract the commonly used TRANSLATORS: prefix into translation files, to
provide some additional context where needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-25 19:05:07 +00:00
Václav Slavík
4509ef837d Translate menu accelerators from XRC
The content of <accel> property was taken verbatim and appended to the
(translated) label; this bypassed wx's internal accelerators translation
mechanism, because wxMenuItem code quite reasonably assumes that the
string passed to it is translated.

Explicitly use SetAccel() instead, to force translation. This matters
for languages such as German where e.g. Ctrl+ is translated as Strg+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-25 19:05:04 +00:00
Václav Slavík
2568dec27f Close NSWindows properly
Don't just release the window, call the close method. This is usually
the same, but in some situations, the difference (close sends
NSWindowWillCloseNotification, which wx doesn't use) is significant.

In particular, if the window is shown as fullscreen, OS X won't dispose
of its space correctly when the window is released, but not closed
first. See https://github.com/vslavik/poedit/issues/119

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-25 18:23:26 +00:00
Václav Slavík
9b9b96b88b Skip Cocoa's options in wxCmdLineParser on OS X
Skip Cocoa-specific flags used by Xcode (such as -AppleLanguages) on OS
X when parsing the command line. They all take a single argument, so
skip both the flag and the following value in the argv list.

Also fix handling of -ApplePersistenceIgnoreState, which didn't skip the
value as it should.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-24 13:45:21 +00:00
Paul Cornett
8f1792829e Remove gtk_tree_view_set_fixed_height_mode() call from AssociateModel()
The check for wxDV_VARIABLE_LINE_HEIGHT is already done in Create(), and the
IsVirtualListModel() check was probably an attempt to get around a performance
problem (#16680), but it's not a valid criteria for changing the height mode.
closes #16683


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-22 19:12:41 +00:00
Paul Cornett
8918fb945a fix assert in dataview sample, closes #16679
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-21 17:20:04 +00:00
Paul Cornett
f037cbbc88 fix "wrong type" error when using wxDataViewChoiceByIndexRenderer, closes #15955
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-21 17:00:29 +00:00
Paul Cornett
4dccdf3749 fix crashes in wxGTK3 when running with non-X11 backend, see #16688
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-20 17:04:13 +00:00
Bryan Petty
b32e89eb64 Backported Doxygen 1.8.8 upgrade to 3.0 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-19 23:25:12 +00:00
Václav Slavík
915a35aa96 Fix disabling wxStaticText repeatedly in wxOSX.
Changes in r78108 would reset control's color to gray if it was disabled
more than once in a row. Guard against this and only remember the color
of an enabled control.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-12 15:11:13 +00:00
Vadim Zeitlin
6389c36e9b Use wxFILTER_EXCLUDE_CHAR_LIST in the sample.
It makes more sense than wxFILTER_EXCLUDE_LIST with SetCharExcludes().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-12 12:37:03 +00:00
Paul Cornett
574a636640 fix creating wxFont with non-ascii name, closes #16671
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-12 07:43:06 +00:00
Vadim Zeitlin
6b9910ac8c Fix size of the icon returned from wxFSVolume::GetIcon().
Calling SetHICON() is not enough, the icon size already needs to be set or,
even better, CreateFromHICON(), which does both atomically, should be used.

Closes #16672.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:59:13 +00:00
Vadim Zeitlin
386feaba50 Re-add wxFD_OVERWRITE_PROMPT and wxFD_FILE_MUST_EXIST to wxGenericFileDialog.
Support for these styles was accidentally removed in r48733, re-add them back.

Closes #16652.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:59:08 +00:00
Vadim Zeitlin
a29874984a German translation fixes from Sebastian Walderich.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:59:05 +00:00
Vadim Zeitlin
d2962540ff Update the out of date link to DebugView in logging overview.
The readable link that existed before is unfortunately not available any more.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:59:02 +00:00
Vadim Zeitlin
b3dc6b7ba2 Fix best size calculation for buttons with bitmaps in wxMSW.
Add the bitmap margins to the bitmap size, not the total button size.

This fixes the buttons becoming unnecessarily tall as soon as they were
assigned even a tiny bitmap.

Closes #16536.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:58:58 +00:00
Vadim Zeitlin
58d415807b Set the initial text value of wxSpinCtrlGeneric correctly.
The text control was left empty if the string value was not specified, but
it should use the numeric initial value instead in this case.

This notably affected wxSpinCtrlDouble under non-GTK platforms.

Closes #16621.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-11 00:58:52 +00:00
Paul Cornett
a25c714163 avoid reconfiguring scrollbar when settings are not changing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-10 17:40:36 +00:00
Paul Cornett
c84463ac38 avoid multiple emissions of the GtkAdjustment "changed" signal when configuring scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-10 17:10:35 +00:00
Paul Cornett
8c7fc09b2b invalidate cached client size when scrollbar visibility changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-10 16:51:58 +00:00
Václav Slavík
6d2d09327d Fix wxStaticText::Disable() to respect text color on OS X
wxStaticText emulates disabled state on OS X by changing text color to
light grey. When re-enabling the control, though, it always set the
color to the standard text color, which broke static texts with a custom
color.

Fix this by keeping track of the original color and restoring it back
when setEnabled:YES is called.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-10 06:58:16 +00:00
Paul Cornett
8d7e0d0452 fix infinite sizing loop with GTK3 when using a non-default target window, closes #16668
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-10 04:13:18 +00:00
Julian Smart
29e01a5808 Don't take right indent into account twice when aligning lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-07 17:32:30 +00:00
Julian Smart
efd4638cf9 Fix a rounding error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-07 17:12:55 +00:00
Václav Slavík
6a4b12865a Fix simulated toggle in OS X wxToolBar wiht HiDPI bitmaps
Use scaled size and scale factor when creating wxMemoryDC so that the
modified output bitmap has same physical dimensions as the source one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-04 16:21:13 +00:00
Václav Slavík
65b887c35f Fix wxToolBarBase::AdjustToolBitmapSize() for HiDPI on OS X
wxOSX's wxToolBar code uses toolbar size computed by
AdjustToolBitmapSize() to determine which of the builtin toolbar sizes
to use. Because AdjustToolBitmapSize() returned 2x the "logical" size,
it would always pick NSToolbarSizeModeRegular regardless of icon size,
resulting in differently-sized toolbar on HiDPI and low-DPI screens.
Use scaled size instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-02 16:28:32 +00:00
Václav Slavík
0f3a84fc72 Use subtler grey for emulated toolbar toggle on OS X
Use a lighter shade of gray to avoid problems with user icons and to
match the look of OS X 10.10's rendering of selected toolbar items.

Fixes #16645.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-26 11:44:47 +00:00
Paul Cornett
9adb6da2c9 backport r77741: Return the caption from wxMessageDialog::GetTitle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-25 18:05:50 +00:00
Václav Slavík
c80171a34e Fix wxFontDialog exceptions on OS X Yosemite
Opening the font dialog would result in an exception in
RunMixedFontDialog:

-[NSView resetFlags]: unrecognized selector sent to instance 0x6080001285c0

The code in question assumed that NSFontPanel's accessory view either
didn't exist or was created by wx, and casted it to
wxMacFontPanelAccView* without checking. But this assumption is no
longer true on OS X 10.10, the view is apparently pre-set to some
default NSView instance.

Fix the code to check accessoryView's class before treating it as
wxMacFontPanelAccView.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-25 12:49:59 +00:00
Vadim Zeitlin
48ce1b0c87 Don't leave wxSubwindows::m_ids uninitialized.
Normally it's initialized by calling Create(), but don't crash deleting an
invalid pointer in the dtor if Create() hadn't been called.

See #16630.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-19 12:59:01 +00:00
Vadim Zeitlin
cf6a4556c5 Only select the first radio button if there is one in wxMSW wxRadioBox.
Don't call SetSelection(0) if the radio box is empty.

See #16630.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-19 12:58:57 +00:00
Paul Cornett
9f6f5ab4f5 Fix ClientToScreen()/ScreenToClient() when used immediately after window creation.
And whenever window does not have an up-to-date GTK size allocation.
Closes #16061


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-19 00:59:20 +00:00
Vadim Zeitlin
94b711e9f3 Only link webview library with libwebkitgtk in wxGTK, not the core one.
Add EXTRALIBS_WEBVIEW similar to the existing EXTRALIBS_MEDIA and such and set
it in configure instead of adding libwebkitgtk and dependent libraries
directly to GUI_TK_LIBRARY.

This ensure that the core library doesn't have any dependencies on
libwebkitgtk which it doesn't need.

Closes #16624.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-16 13:33:19 +00:00
Paul Cornett
148971013e fix crash in wxGCDC::DrawEllipticArc() after r76954, closes #16623
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-15 16:53:54 +00:00
Vadim Zeitlin
0d8ae3cee2 Spanish translations update from Miguel Giménez.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-14 13:42:03 +00:00
Václav Slavík
2476c5246e Add support for template NSImages to wxBitmap
wxBitmap uses CGImage instead of NSImage internally and the conversion
looses NSImage metadata.  In particular, it looses the "template"
attribute, which is set for files ending with "Template" and loaded
trough wxArtProvider.

This change makes it easy to use template images with native controls
such as the toolbar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-14 08:53:33 +00:00
Vadim Zeitlin
2e9888a4be Mention Borland C++ fixes in the change log.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-11 15:48:26 +00:00
Vadim Zeitlin
b8e42da6b2 Fix resource compiler include path for Borland.
Explicitly include $(BCCDIR)/include/windows/sdk directory in the resource
compiler options, as it needs it to find windows.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-11 15:48:22 +00:00
Vadim Zeitlin
30f3d382db Compilation fix for Borland overload selection bug.
Avoid the following bogus compiler error:

Error E2015 ..\..\src\common\filename.cpp 2589: Ambiguity between 'wxFileName::Exists(int)
 const at ..\..\src\common\filename.cpp:777' and 'wxFileName::Exists(const wxString &,int)
 at ..\..\src\common\filename.cpp:790' in function wxFileName::SetPermissions(int)

by using an unambiguous overload.

See #16592.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-11 15:47:59 +00:00
Vadim Zeitlin
38e6f2d117 Compilation fix for Borland compiler bug with ternary operator.
Don't use ?: operator with references, Borland wrongly deduces the common type
as being an object in this case, so use pointers instead and dereference later.

See #16592.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-11 15:47:53 +00:00
Vadim Zeitlin
75ce7fb68b Fix excessive height of wxSlider with labels but no ticks in wxMSW.
We shouldn't add the label height to the control best height as the labels are
positioned at the same vertical level as the main part of the control.

See #16604.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-09 15:36:39 +00:00
Julian Smart
d0d4e49209 Page up/down behaviour now takes into account margins and scale
GetTextForRange takes composites into account properly
HasCharacterAttributes correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 10:28:18 +00:00
Vadim Zeitlin
3ee48824fc Check that there are no uncommitted changes in the release script.
Any such changes wouldn't be included in the release, which is probably
unexpected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 21:50:09 +00:00
Vadim Zeitlin
8cc2dffb9d Really fix the 3.0.2 archives SHA1 sums.
This corresponds to the archives with the correct configure version in them,
finally.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 21:48:50 +00:00
Vadim Zeitlin
7f1e03a22a Rebake and rerun autoconf after 3.0.3 version update.
Don't forget to update configure, this time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 17:33:15 +00:00
Vadim Zeitlin
63ed1cb178 Updated SHA1 sums for the final 3.0.2 release archives.
The sums have changed after updating "configure" included in the release.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 17:32:53 +00:00
Vadim Zeitlin
b01e333f89 Fix several rounding problems with float values in wxPropertyGrid.
See also r85980 in the trunk.

Closes #15625.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 12:35:25 +00:00
Vadim Zeitlin
4dae66dffc Fix several problems with number formatting in wxNumberFormatter.
We shouldn't add thousands separators nor remove trailing zeros for the
numbers in scientific format.

Also avoid "-0" as output.

See #15625.

[This is the backport of r75560 from trunk.]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 12:35:19 +00:00
Vadim Zeitlin
f8506c65a5 Update version to 3.0.3.
Run misc/scripts/inc_release, update version.bkl and changes.txt manually.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 12:35:15 +00:00
Vadim Zeitlin
34f86475a8 Updated the released files SHA1 sums for 3.0.2.
Also update the version and remove the bit about binaries being provided for
the first time -- this is not true any more.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-06 12:35:10 +00:00
1552 changed files with 584744 additions and 567723 deletions

35
.gitattributes vendored Normal file
View File

@@ -0,0 +1,35 @@
# Windows-specific files that require CRLF:
*.bat eol=crlf
*.bcc eol=crlf
*.dsw eol=crlf
*.gcc eol=crlf
*.props eol=crlf
*.rc eol=crlf
*.sln eol=crlf
*.vc eol=crlf
*.vcproj eol=crlf
*.vcxproj eol=crlf
# Documentation used with Windows installer:
/BuildGit.txt text=auto
/docs/changes.txt text=auto
/docs/licence.txt text=auto
/docs/readme.txt text=auto
/docs/msw/*.txt text=auto
# Unix-specific files that require LF:
*.h.in eol=lf
*.m4 eol=lf
*.sh eol=lf
configure.in eol=lf
Makefile.am eol=lf
Makefile.in eol=lf
makefile.unx eol=lf
config.guess eol=lf
config.sub eol=lf
configure eol=lf
configure.in eol=lf

432
.gitignore vendored Normal file
View File

@@ -0,0 +1,432 @@
# /
/.gdb_history
/config.cache
/configarg.cache
/config.status
/wx-config
/config.log
/stamp-h.in
/Makefile
/setup.h
/*tags
/autom4te.cache
# /build/
# /build/autoconf_prepend-include/autoconf/
/build/autoconf_prepend-include/autoconf/autoconf.m4f
# /build/bakefiles/
/build/bakefiles/.bakefile_gen.state
/build/bakefiles/Bakefiles.local.bkgen
/build/bakefiles/wxwin.pyc
/build/bakefiles/wxpresets/presets/wx_presets.pyc
# /build/msw/
/build/msw/.m*
/build/msw/config.dmc
/build/msw/makefile.dmc
/build/msw/*c*_msw
/build/msw/*c*_mswd
/build/msw/*c*_mswu
/build/msw/*c*_mswud
/build/msw/*c*_mswdll
/build/msw/*c*_mswddll
/build/msw/*c*_mswudll
/build/msw/*c*_mswuddll
/build/msw/*c*_mswuniv
/build/msw/*c*_mswunivd
/build/msw/*c*_mswunivu
/build/msw/*c*_mswunivud
/build/msw/*c*_mswunivdll
/build/msw/*c*_mswunivddll
/build/msw/*c*_mswunivudll
/build/msw/*c*_mswunivuddll
/build/msw/*c*_mswhdll
/build/msw/*c*_mswuhdll
/build/msw/*.vcproj.*.user
/build/msw/*.vcxproj.user
/build/msw/vc*_mswud
/build/msw/wx_vc8arm_*.vcproj
/build/msw/wx_vc8arm.sln
/build/msw/ipch
/build/msw/wx_vc12.opensdf
/build/msw/wx_vc12.sdf
/build/msw/*.suo
# /demos/
/demos/*/*.sln
/demos/*/*.dsw
/demos/*/vc_msw
/demos/*/vc_msw_x64
/demos/*/vc_mswd
/demos/*/vc_mswd_x64
/demos/*/vc_mswu
/demos/*/vc_mswu_x64
/demos/*/vc_mswud
/demos/*/vc_mswud_x64
/demos/*/vc_mswdll
/demos/*/vc_mswdll_x64
/demos/*/vc_mswddll
/demos/*/vc_mswddll_x64
/demos/*/vc_mswudll
/demos/*/vc_mswudll_x64
/demos/*/vc_mswuddll
/demos/*/vc_mswuddll_x64
/demos/*/vc_mswuniv
/demos/*/vc_mswuniv_x64
/demos/*/vc_mswunivd
/demos/*/vc_mswunivd_x64
/demos/*/vc_mswunivu
/demos/*/vc_mswunivu_x64
/demos/*/vc_mswunivud
/demos/*/vc_mswunivud_x64
/demos/*/vc_mswunivdll
/demos/*/vc_mswunivdll_x64
/demos/*/vc_mswunivddll
/demos/*/vc_mswunivddll_x64
/demos/*/vc_mswunivudll
/demos/*/vc_mswunivudll_x64
/demos/*/vc_mswunivuddll
/demos/*/vc_mswunivuddll_x64
/demos/*/*Classic?Debug*
/demos/*/*Classic?Release*
/demos/*/*Carbon?Debug*
/demos/*/*Carbon?Release*
# /demos/bombs/
/demos/bombs/bombsM5.mcp
/demos/bombs/bombsM*Data
# /demos/forty/
/demos/forty/fortyM5.mcp
/demos/forty/fortyM*Data
# /demos/fractal/
/demos/fractal/fractalM5.mcp
/demos/fractal/fractalM*Data
# /demos/life/
/demos/life/lifeM5.mcp
/demos/life/lifeM*Data
# /demos/poem/
/demos/poem/poemM5.mcp
/demos/poem/poemM*Data
# /distrib/release/
/distrib/release
# /docs/doxygen/
/docs/doxygen/doxygen.log
/docs/doxygen/out
# /include/
/include/Makefile.in
/include/*.mch
# /include/wx/
/include/wx/Makefile.in
# /include/wx/generic/
/include/wx/generic/Makefile.in
# /include/wx/gtk/
/include/wx/gtk/setup.h
/include/wx/gtk/Makefile.in
# /include/wx/gtk1/
/include/wx/gtk1/setup.h
/include/wx/gtk1/Makefile.in
# /include/wx/html/
/include/wx/html/Makefile.in
# /include/wx/motif/
/include/wx/motif/Makefile.in
# /include/wx/msw/
/include/wx/msw/setup.h
/include/wx/msw/Makefile.in
/include/wx/msw/Makefile
# /include/wx/osx/
/include/wx/osx/setup.h
# /include/wx/protocol/
/include/wx/protocol/Makefile.in
# /include/wx/univ/
/include/wx/univ/setup.h
# /include/wx/unix/
/include/wx/unix/Makefile.in
# /lib/
/lib/base
/lib/based
/lib/basedll
/lib/basedlld
/lib/basedllu
/lib/basedllud
/lib/baseu
/lib/baseud
/lib/bcc_lib
/lib/cdef*.res
/lib/dmc_lib
/lib/evc_armv4_lib
/lib/evc_emulator_lib
/lib/expat*.lib
/lib/gcc_lib
/lib/gcc_lib32
/lib/gcc_lib64
/lib/jpeg*.lib
/lib/ldef*.res
/lib/Linux
/lib/linux
/lib/linux-gnu
/lib/msw
/lib/mswd
/lib/mswdll
/lib/mswdlld
/lib/mswdllu
/lib/mswdllud
/lib/mswu
/lib/mswud
/lib/png*.lib
/lib/regex*.lib
/lib/shell32_sc.lib
/lib/tiff*.lib
/lib/univ
/lib/univd
/lib/univdll
/lib/univdlld
/lib/vc_dll
/lib/vc_lib
/lib/vc_x64_dll
/lib/vc_x64_lib
/lib/wat_lib
/lib/winmm32_sc.lib
/lib/wsock32_sc.lib
/lib/wx_*.rsrc
/lib/wxbase*.dll
/lib/wxbase*.exp
/lib/wxbase*.ilk
/lib/wxbase*.lib
/lib/wxmsw*.dll
/lib/wxmsw*.exp
/lib/wxmsw*.ilk
/lib/wxmsw*.lib
/lib/zlib*.lib
# /locale/
/locale/*.mo
# /locale/msw/
/locale/msw/*.mo
# /misc/
/misc/system.list
/misc/bin
/misc/.gdb_history
/misc/Test
/misc/config.cache
/misc/config.status
/misc/system.list
/misc/linux.system.cache
/misc/wx-config
/misc/config.log
/misc/linux-gnu.system.cache
/misc/*.dsp
/misc/*.dsw
/misc/*.plg
/misc/*.opt
/misc/*.aps
/misc/*.ncb
/misc/*.pro
/misc/*.opt
/misc/Release
/misc/Debug
/misc/ReleaseDLL
/misc/DebugDLL
/misc/robert
/misc/Makefile.in
/misc/setup.h.in
/misc/stamp-h.in
/misc/Makefile
/misc/configure
/misc/setup.h
/misc/stamp-h
/misc/libtool
# /samples/
/samples/**/*.sln
/samples/**/*.dsw
/samples/**/vc_msw
/samples/**/vc_msw_x64
/samples/**/vc_mswd
/samples/**/vc_mswd_x64
/samples/**/vc_mswu
/samples/**/vc_mswu_x64
/samples/**/vc_mswud
/samples/**/vc_mswud_x64
/samples/**/vc_mswdll
/samples/**/vc_mswdll_x64
/samples/**/vc_mswddll
/samples/**/vc_mswddll_x64
/samples/**/vc_mswudll
/samples/**/vc_mswudll_x64
/samples/**/vc_mswuddll
/samples/**/vc_mswuddll_x64
/samples/**/vc_mswuniv
/samples/**/vc_mswuniv_x64
/samples/**/vc_mswunivd
/samples/**/vc_mswunivd_x64
/samples/**/vc_mswunivu
/samples/**/vc_mswunivu_x64
/samples/**/vc_mswunivud
/samples/**/vc_mswunivud_x64
/samples/**/vc_mswunivdll
/samples/**/vc_mswunivdll_x64
/samples/**/vc_mswunivddll
/samples/**/vc_mswunivddll_x64
/samples/**/vc_mswunivudll
/samples/**/vc_mswunivudll_x64
/samples/**/vc_mswunivuddll
/samples/**/vc_mswunivuddll_x64
# /samples/image/
/samples/image/saved.xpm
/samples/image/test.png
/samples/image/test.xpm
# /src/
/src/FreeBSD
/src/Linux
/src/linux
/src/linux-gnu
/src/Makefile.in
/src/*.lo
/src/*.la
/src/make.env
/src/makeprog.env
/src/makelib.env
/src/ReleaseDebug
/src/wxwindowsM*Data
/src/wxwindowsM5.mcp
/src/build
/src/*.ncb
/src/*.opt
/src/*.plg
# /src/common/
/src/common/y_tab.c
# /src/gtk/
/src/gtk/Makefile.in
/src/gtk/*.lo
/src/gtk/*.la
# /src/gtk1/
/src/gtk1/Makefile.in
/src/gtk1/*.lo
/src/gtk1/*.la
# /src/jpeg/
/src/jpeg/jpegM*Data
/src/jpeg/jpegM5.mcp
/src/jpeg/Debug
/src/jpeg/Release
# /src/motif/
/src/motif/Makefile.in
# /src/msw/
/src/msw/Makefile.in
# /src/regex/
/src/regex/Debug
/src/regex/Release
/src/regex/*.vcl
# /src/zlib/
/src/zlib/zlibM*Data
/src/zlib/zlibM5.mcp
/src/zlib/Debug
/src/zlib/Release
# /tests/
/tests/*.sln
/tests/*.dsw
/tests/vc_msw
/tests/vc_msw_x64
/tests/vc_mswd
/tests/vc_mswd_x64
/tests/vc_mswu
/tests/vc_mswu_x64
/tests/vc_mswud
/tests/vc_mswud_x64
/tests/vc_mswdll
/tests/vc_mswdll_x64
/tests/vc_mswddll
/tests/vc_mswddll_x64
/tests/vc_mswudll
/tests/vc_mswudll_x64
/tests/vc_mswuddll
/tests/vc_mswuddll_x64
/tests/vc_mswuniv
/tests/vc_mswuniv_x64
/tests/vc_mswunivd
/tests/vc_mswunivd_x64
/tests/vc_mswunivu
/tests/vc_mswunivu_x64
/tests/vc_mswunivud
/tests/vc_mswunivud_x64
/tests/vc_mswunivdll
/tests/vc_mswunivdll_x64
/tests/vc_mswunivddll
/tests/vc_mswunivddll_x64
/tests/vc_mswunivudll
/tests/vc_mswunivudll_x64
/tests/vc_mswunivuddll
/tests/vc_mswunivuddll_x64
/tests/test_test.dsw
/tests/test.opt
/tests/test.sln
/tests/test.suo
/tests/test_test.vcproj
# /tests/benchmarks/
/tests/benchmarks/*.sln
/tests/benchmarks/*.dsw
# /utils/
/utils/**/vc_mswu
/utils/**/vc_mswu_x64
/utils/**/vc_mswud
/utils/**/vc_mswud_x64
/utils/**/vc_mswudll
/utils/**/vc_mswudll_x64
/utils/**/vc_mswuddll
/utils/**/vc_mswuddll_x64
# /utils/emulator/src/
/utils/emulator/src/*.sln
/utils/emulator/src/*.dsw
# /utils/helpview/src/
/utils/helpview/src/*.sln
/utils/helpview/src/*.dsw
# /utils/hhp2cached/
/utils/hhp2cached/*.sln
/utils/hhp2cached/*.dsw
/utils/hhp2cached/HHP2CachedM*Data
/utils/hhp2cached/*Classic?Debug*
/utils/hhp2cached/*Classic?Release*
/utils/hhp2cached/*Carbon?Debug*
/utils/hhp2cached/*Carbon?Release*
# /utils/wxrc/
/utils/wxrc/*.sln
/utils/wxrc/*.dsw

View File

@@ -3,6 +3,7 @@
# It is used automatically for the repositories on Github if it's found in the # It is used automatically for the repositories on Github if it's found in the
# root directory of the project. # root directory of the project.
language: cpp language: cpp
sudo: required
compiler: gcc compiler: gcc
@@ -18,6 +19,7 @@ notifications:
on_failure: change on_failure: change
before_install: before_install:
- sudo apt-get update
- sudo apt-get install -y libcppunit-dev - sudo apt-get install -y libcppunit-dev
env: env:

View File

@@ -1,8 +1,8 @@
------------------------------------------------------------------------ ------------------------------------------------------------------------
How to build the sources from SVN How to build the sources from git
------------------------------------------------------------------------ ------------------------------------------------------------------------
Before building from svn sources under Windows, you need to copy the Before building from git sources under Windows, you need to copy the
file include/wx/msw/setup0.h to include/wx/msw/setup.h. This is file include/wx/msw/setup0.h to include/wx/msw/setup.h. This is
necessary in order to allow having local modifications to the latter necessary in order to allow having local modifications to the latter
file without showing it as modified, as it is not under version file without showing it as modified, as it is not under version

View File

@@ -65,6 +65,7 @@ EXTRALIBS_MEDIA = @EXTRALIBS_MEDIA@
EXTRALIBS_GUI = @EXTRALIBS_GUI@ EXTRALIBS_GUI = @EXTRALIBS_GUI@
EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@ EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
EXTRALIBS_SDL = @EXTRALIBS_SDL@ EXTRALIBS_SDL = @EXTRALIBS_SDL@
EXTRALIBS_WEBVIEW = @EXTRALIBS_WEBVIEW@
CXXWARNINGS = @CXXWARNINGS@ CXXWARNINGS = @CXXWARNINGS@
HOST_SUFFIX = @HOST_SUFFIX@ HOST_SUFFIX = @HOST_SUFFIX@
DYLIB_RPATH_INSTALL = @DYLIB_RPATH_INSTALL@ DYLIB_RPATH_INSTALL = @DYLIB_RPATH_INSTALL@
@@ -76,7 +77,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_RELEASE_NODOT = 30 WX_RELEASE_NODOT = 30
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
WXREGEX_CFLAGS = -DNDEBUG -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(____SHARED) \ WXREGEX_CFLAGS = -DNDEBUG -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(____SHARED) \
$(CPPFLAGS) $(CFLAGS) $(CPPFLAGS) $(CFLAGS)
@@ -2088,7 +2089,7 @@ LOCALE_MSW_LINGUAS = it
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
@COND_PLATFORM_MACOSX_1@WXMACVERSION_CMD = \ @COND_PLATFORM_MACOSX_1@WXMACVERSION_CMD = \
@COND_PLATFORM_MACOSX_1@ -compatibility_version 3.0 -current_version 3.0 @COND_PLATFORM_MACOSX_1@ -compatibility_version 4.0 -current_version 4.0
@COND_USE_GUI_0@PORTNAME = base @COND_USE_GUI_0@PORTNAME = base
@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
@COND_TOOLKIT_MAC@WXBASEPORT = _carbon @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
@@ -15199,9 +15200,9 @@ COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1___htmldll_library_link_LIBR_0 \
@COND_USE_SOVERSION_0@dll___targetsuf2 = .$(SO_SUFFIX) @COND_USE_SOVERSION_0@dll___targetsuf2 = .$(SO_SUFFIX)
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@dll___targetsuf3 \ @COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@dll___targetsuf3 \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ = \ @COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ = \
@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ .$(SO_SUFFIX).0.2.0 @COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@ .$(SO_SUFFIX).0.3.0
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf3 \ @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf3 \
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.2.0.$(SO_SUFFIX) @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .0.3.0.$(SO_SUFFIX)
@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX) @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@dll___targetsuf3 = -0.$(SO_SUFFIX)
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX) @COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0 @COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@dll___targetsuf3 = .$(SO_SUFFIX).0
@@ -15493,7 +15494,7 @@ distclean: clean
@COND_SHARED_0_USE_STC_1@ rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxscintilla$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT) @COND_SHARED_0_USE_STC_1@ rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxscintilla$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
@COND_MONOLITHIC_1_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(MONODLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__monodll___win32rc) $(__wxscintilla_library_link_DEP) @COND_MONOLITHIC_1_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(MONODLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__monodll___win32rc) $(__wxscintilla_library_link_DEP)
@COND_MONOLITHIC_1_SHARED_1@ $(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS) $(__wxscintilla_library_link_LIBR) -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(PLUGIN_ADV_EXTRALIBS) $(__wxscintilla_library_link_LIBR_1) $(LIBS) @COND_MONOLITHIC_1_SHARED_1@ $(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS) $(__wxscintilla_library_link_LIBR) -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(PLUGIN_ADV_EXTRALIBS) $(EXTRALIBS_WEBVIEW) $(__wxscintilla_library_link_LIBR_1) $(LIBS)
@COND_MONOLITHIC_1_SHARED_1@ $(DYLIB_RPATH_POSTLINK) @COND_MONOLITHIC_1_SHARED_1@ $(DYLIB_RPATH_POSTLINK)
@COND_MONOLITHIC_1_SHARED_1@ @COND_MONOLITHIC_1_SHARED_1@
@COND_MONOLITHIC_1_SHARED_1@ $(__monodll___so_symlinks_cmd) @COND_MONOLITHIC_1_SHARED_1@ $(__monodll___so_symlinks_cmd)
@@ -15750,7 +15751,7 @@ distclean: clean
@COND_MONOLITHIC_0_USE_HTML_1@wxhtml: $(____wxhtml_namedll_DEP) $(____wxhtml_namelib_DEP) @COND_MONOLITHIC_0_USE_HTML_1@wxhtml: $(____wxhtml_namedll_DEP) $(____wxhtml_namelib_DEP)
@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_webview$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(WEBVIEWDLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__webviewdll___win32rc) $(__coredll___depname) $(__basedll___depname) @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_webview$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(WEBVIEWDLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__webviewdll___win32rc) $(__coredll___depname) $(__basedll___depname)
@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(SHARED_LD_CXX) $@ $(WEBVIEWDLL_OBJECTS) -L$(LIBDIRNAME) -L$(LIBDIRNAME) -L$(LIBDIRNAME) $(__webviewdll___macinstnamecmd) $(__webviewdll___importlib) $(__webviewdll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(LIBS) @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(SHARED_LD_CXX) $@ $(WEBVIEWDLL_OBJECTS) -L$(LIBDIRNAME) -L$(LIBDIRNAME) -L$(LIBDIRNAME) $(__webviewdll___macinstnamecmd) $(__webviewdll___importlib) $(__webviewdll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(EXTRALIBS_WEBVIEW) $(LIBS)
@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(DYLIB_RPATH_POSTLINK) @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(DYLIB_RPATH_POSTLINK)
@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@
@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(__webviewdll___so_symlinks_cmd) @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@ $(__webviewdll___so_symlinks_cmd)

43
appveyor.yml Normal file
View File

@@ -0,0 +1,43 @@
version: '{build}'
branches:
only:
- master
- WX_3_0_BRANCH
environment:
matrix:
- TOOLSET: msbuild
CONFIGURATION: DLL Release
ARCH: x64
wxUSE_STL: 1
- TOOLSET: nmake
VS: '9.0'
BUILD: release
ARCH: x86
wxUSE_STL: 0
- TOOLSET: nmake
VS: '14.0'
BUILD: debug
ARCH: amd64
wxUSE_STL: 1
- TOOLSET: mingw
wxUSE_STL: 0
- TOOLSET: msys2
MSYSTEM: MINGW32
- TOOLSET: cygwin
clone_depth: 50
before_build:
- ps: |
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
if (($env:compiler -ne "msys2") -and ($env:compiler -ne "cygwin")) {
gc include\wx\msw\setup0.h |
%{$_ -replace "define wxUSE_STL 0", "define wxUSE_STL $env:wxUSE_STL"} |
sc include\wx\msw\setup.h
}
build_script: build\tools\appveyor.bat
test: off

View File

@@ -626,7 +626,7 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF],
AC_SUBST(AR) AC_SUBST(AR)
else else
AC_CHECK_TOOL(AR, ar, ar) AC_CHECK_TOOL(AR, ar, ar)
AROPTIONS=rcu AROPTIONS=rc
fi fi
AC_SUBST(AROPTIONS) AC_SUBST(AROPTIONS)

View File

@@ -49,9 +49,22 @@ AC_DEFUN([WX_VISIBILITY],
error this platform has no visibility; error this platform has no visibility;
#endif #endif
/* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */ /* At the time of Xcode 4.1 / Clang 3, Clang++ still didn't
#if defined(__clang__) have the bugs sorted out. These were fixed starting with
clang compiler is still broken w.r.t. visibility; Xcode 4.6.0 / Apple Clang 4.2 (which is based on Clang 3.2 so
check for that version too). */
#ifdef __clang__
#ifdef __APPLE__
#if __clang_major__ < 4 \
|| (__clang_major__ == 4 && __clang_minor__ < 2)
error Clang compiler version < 4.2 is broken w.r.t. visibility;
#endif
#else
#if __clang_major__ < 3 \
|| (__clang_major__ == 3 && __clang_minor__ < 2)
error Clang compiler version < 3.2 is broken w.r.t. visibility;
#endif
#endif
#endif #endif
extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("hidden"))) int hiddenvar;

View File

@@ -710,6 +710,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
<res-include>$(TOP_SRCDIR)include</res-include> <res-include>$(TOP_SRCDIR)include</res-include>
<postlink-command>$(DYLIB_RPATH_POSTLINK)</postlink-command> <postlink-command>$(DYLIB_RPATH_POSTLINK)</postlink-command>
</if> </if>
<if cond="FORMAT=='borland'">
<!-- path to windows.h for this compiler -->
<res-include>$(DOLLAR)(BCCDIR)\include\windows\sdk</res-include>
</if>
<win32-res>$(WXTOPDIR)src/msw/version.rc</win32-res> <win32-res>$(WXTOPDIR)src/msw/version.rc</win32-res>
</template> </template>

View File

@@ -29,6 +29,10 @@
<res-include>$(RCDEFDIR)</res-include> <res-include>$(RCDEFDIR)</res-include>
<res-include>$(TOP_SRCDIR)include</res-include> <res-include>$(TOP_SRCDIR)include</res-include>
</if> </if>
<if cond="FORMAT=='borland'">
<!-- path to windows.h for this compiler -->
<res-include>$(DOLLAR)(BCCDIR)\include\windows\sdk</res-include>
</if>
<win32-res>$(WXTOPDIR)samples/sample.rc</win32-res> <win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
<if cond="FORMAT=='autoconf'"> <if cond="FORMAT=='autoconf'">

View File

@@ -423,6 +423,7 @@ to run the tests, include CppUnit library here.
<option name="EXTRALIBS_GUI"/> <option name="EXTRALIBS_GUI"/>
<option name="EXTRALIBS_OPENGL"/> <option name="EXTRALIBS_OPENGL"/>
<option name="EXTRALIBS_SDL"/> <option name="EXTRALIBS_SDL"/>
<option name="EXTRALIBS_WEBVIEW"/>
<option name="CXXWARNINGS"/> <option name="CXXWARNINGS"/>
<option name="HOST_SUFFIX"/> <option name="HOST_SUFFIX"/>
<option name="DYLIB_RPATH_INSTALL"/> <option name="DYLIB_RPATH_INSTALL"/>
@@ -506,6 +507,7 @@ it if SHARED=1 unless you know what you are doing.
<if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if> <if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
</set> </set>
<set var="EXTRALIBS_SDL"/> <set var="EXTRALIBS_SDL"/>
<set var="EXTRALIBS_WEBVIEW"/>
<set var="WITH_PLUGIN_SDL">0</set> <set var="WITH_PLUGIN_SDL">0</set>

View File

@@ -26,6 +26,7 @@
<ldlibs>$(EXTRALIBS_HTML)</ldlibs> <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
<ldlibs>$(EXTRALIBS_MEDIA)</ldlibs> <ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
<ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs> <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
<ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
<library>$(wxscintilla_library_link)</library> <library>$(wxscintilla_library_link)</library>
</dll> </dll>

View File

@@ -183,6 +183,7 @@
<sources>$(WEBVIEW_SRC)</sources> <sources>$(WEBVIEW_SRC)</sources>
<library>coredll</library> <library>coredll</library>
<library>basedll</library> <library>basedll</library>
<ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
<msvc-headers>$(WEBVIEW_HDR)</msvc-headers> <msvc-headers>$(WEBVIEW_HDR)</msvc-headers>
</dll> </dll>

View File

@@ -22,9 +22,9 @@
3. Else, i.e. if there were no changes at all to API but only internal 3. Else, i.e. if there were no changes at all to API but only internal
changes, change C:R:A to C:R+1:A changes, change C:R:A to C:R+1:A
--> -->
<set var="WX_CURRENT">2</set> <set var="WX_CURRENT">3</set>
<set var="WX_REVISION">0</set> <set var="WX_REVISION">0</set>
<set var="WX_AGE">2</set> <set var="WX_AGE">3</set>
<!-- ================================================================== --> <!-- ================================================================== -->

View File

@@ -51,6 +51,7 @@ EXTRALIBS = {
'html' : '$(EXTRALIBS_HTML)', 'html' : '$(EXTRALIBS_HTML)',
'adv' : '$(PLUGIN_ADV_EXTRALIBS)', 'adv' : '$(PLUGIN_ADV_EXTRALIBS)',
'media' : '$(EXTRALIBS_MEDIA)', 'media' : '$(EXTRALIBS_MEDIA)',
'webview' : '$(EXTRALIBS_WEBVIEW)',
} }
def mkLibName(wxid): def mkLibName(wxid):

View File

@@ -5488,7 +5488,7 @@ $(SETUPHDIR)\wx\msw\rcdefs.h: $(SETUPHDIR)\wx\msw ..\..\include\wx\msw\genrcdefs
build_cfg_file: $(SETUPHDIR) build_cfg_file: $(SETUPHDIR)
@echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE) @echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE)
@echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE) @echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE)
@echo WXVER_RELEASE=2 >>$(BUILD_CFG_FILE) @echo WXVER_RELEASE=3 >>$(BUILD_CFG_FILE)
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)
@@ -8719,7 +8719,7 @@ $(OBJS)\monodll_animateg.obj: ..\..\src\generic\animateg.cpp
!endif !endif
$(OBJS)\monodll_version.res: ..\..\src\msw\version.rc $(OBJS)\monodll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -i..\..\src\stc\scintilla\include -i..\..\src\stc\scintilla\lexlib -i..\..\src\stc\scintilla\src -d__WX__ -dSCI_LEXER -dLINK_LEXERS -dwxUSE_BASE=1 -dWXMAKINGDLL ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -i..\..\src\stc\scintilla\include -i..\..\src\stc\scintilla\lexlib -i..\..\src\stc\scintilla\src -d__WX__ -dSCI_LEXER -dLINK_LEXERS -dwxUSE_BASE=1 -dWXMAKINGDLL ..\..\src\msw\version.rc
$(OBJS)\monolib_dummy.obj: ..\..\src\common\dummy.cpp $(OBJS)\monolib_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) -H ..\..\src\common\dummy.cpp
@@ -11193,7 +11193,7 @@ $(OBJS)\basedll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\basedll_version.res: ..\..\src\msw\version.rc $(OBJS)\basedll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXMAKINGDLL_BASE -dwxUSE_BASE=1 ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXMAKINGDLL_BASE -dwxUSE_BASE=1 ..\..\src\msw\version.rc
$(OBJS)\basedll_any.obj: ..\..\src\common\any.cpp $(OBJS)\basedll_any.obj: ..\..\src\common\any.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) ..\..\src\common\any.cpp $(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) ..\..\src\common\any.cpp
@@ -11880,7 +11880,7 @@ $(OBJS)\netdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(NETDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(NETDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\netdll_version.res: ..\..\src\msw\version.rc $(OBJS)\netdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXUSINGDLL -dWXMAKINGDLL_NET ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXUSINGDLL -dWXMAKINGDLL_NET ..\..\src\msw\version.rc
$(OBJS)\netdll_fs_inet.obj: ..\..\src\common\fs_inet.cpp $(OBJS)\netdll_fs_inet.obj: ..\..\src\common\fs_inet.cpp
$(CXX) -q -c -P -o$@ $(NETDLL_CXXFLAGS) ..\..\src\common\fs_inet.cpp $(CXX) -q -c -P -o$@ $(NETDLL_CXXFLAGS) ..\..\src\common\fs_inet.cpp
@@ -11961,7 +11961,7 @@ $(OBJS)\coredll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\coredll_version.res: ..\..\src\msw\version.rc $(OBJS)\coredll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_CORE -dwxUSE_BASE=0 ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_CORE -dwxUSE_BASE=0 ..\..\src\msw\version.rc
$(OBJS)\coredll_event.obj: ..\..\src\common\event.cpp $(OBJS)\coredll_event.obj: ..\..\src\common\event.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\event.cpp $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\event.cpp
@@ -14864,7 +14864,7 @@ $(OBJS)\advdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\advdll_version.res: ..\..\src\msw\version.rc $(OBJS)\advdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_ADV ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_ADV ..\..\src\msw\version.rc
$(OBJS)\advdll_bmpcbox.obj: ..\..\src\msw\bmpcbox.cpp $(OBJS)\advdll_bmpcbox.obj: ..\..\src\msw\bmpcbox.cpp
$(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\bmpcbox.cpp $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\bmpcbox.cpp
@@ -15167,7 +15167,7 @@ $(OBJS)\mediadll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(MEDIADLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(MEDIADLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\mediadll_version.res: ..\..\src\msw\version.rc $(OBJS)\mediadll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_MEDIA ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_MEDIA ..\..\src\msw\version.rc
$(OBJS)\mediadll_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp $(OBJS)\mediadll_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp
$(CXX) -q -c -P -o$@ $(MEDIADLL_CXXFLAGS) ..\..\src\common\mediactrlcmn.cpp $(CXX) -q -c -P -o$@ $(MEDIADLL_CXXFLAGS) ..\..\src\common\mediactrlcmn.cpp
@@ -15200,7 +15200,7 @@ $(OBJS)\htmldll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(HTMLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(HTMLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\htmldll_version.res: ..\..\src\msw\version.rc $(OBJS)\htmldll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_HTML ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_HTML ..\..\src\msw\version.rc
$(OBJS)\htmldll_helpbest.obj: ..\..\src\msw\helpbest.cpp $(OBJS)\htmldll_helpbest.obj: ..\..\src\msw\helpbest.cpp
$(CXX) -q -c -P -o$@ $(HTMLDLL_CXXFLAGS) ..\..\src\msw\helpbest.cpp $(CXX) -q -c -P -o$@ $(HTMLDLL_CXXFLAGS) ..\..\src\msw\helpbest.cpp
@@ -15365,7 +15365,7 @@ $(OBJS)\webviewdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(WEBVIEWDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(WEBVIEWDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\webviewdll_version.res: ..\..\src\msw\version.rc $(OBJS)\webviewdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_webview$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_WEBVIEW ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_webview$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_WEBVIEW ..\..\src\msw\version.rc
$(OBJS)\webviewdll_webview_ie.obj: ..\..\src\msw\webview_ie.cpp $(OBJS)\webviewdll_webview_ie.obj: ..\..\src\msw\webview_ie.cpp
$(CXX) -q -c -P -o$@ $(WEBVIEWDLL_CXXFLAGS) ..\..\src\msw\webview_ie.cpp $(CXX) -q -c -P -o$@ $(WEBVIEWDLL_CXXFLAGS) ..\..\src\msw\webview_ie.cpp
@@ -15398,7 +15398,7 @@ $(OBJS)\qadll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(QADLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(QADLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\qadll_version.res: ..\..\src\msw\version.rc $(OBJS)\qadll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_qa$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_QA ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_qa$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_QA ..\..\src\msw\version.rc
$(OBJS)\qadll_debugrpt.obj: ..\..\src\common\debugrpt.cpp $(OBJS)\qadll_debugrpt.obj: ..\..\src\common\debugrpt.cpp
$(CXX) -q -c -P -o$@ $(QADLL_CXXFLAGS) ..\..\src\common\debugrpt.cpp $(CXX) -q -c -P -o$@ $(QADLL_CXXFLAGS) ..\..\src\common\debugrpt.cpp
@@ -15419,7 +15419,7 @@ $(OBJS)\xmldll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(XMLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(XMLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\xmldll_version.res: ..\..\src\msw\version.rc $(OBJS)\xmldll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXUSINGDLL -dWXMAKINGDLL_XML ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dwxUSE_GUI=0 -dWXUSINGDLL -dWXMAKINGDLL_XML ..\..\src\msw\version.rc
$(OBJS)\xmldll_xml.obj: ..\..\src\xml\xml.cpp $(OBJS)\xmldll_xml.obj: ..\..\src\xml\xml.cpp
$(CXX) -q -c -P -o$@ $(XMLDLL_CXXFLAGS) ..\..\src\xml\xml.cpp $(CXX) -q -c -P -o$@ $(XMLDLL_CXXFLAGS) ..\..\src\xml\xml.cpp
@@ -15440,7 +15440,7 @@ $(OBJS)\xrcdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\xrcdll_version.res: ..\..\src\msw\version.rc $(OBJS)\xrcdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_XRC ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_XRC ..\..\src\msw\version.rc
$(OBJS)\xrcdll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp $(OBJS)\xrcdll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) ..\..\src\xrc\xh_animatctrl.cpp $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) ..\..\src\xrc\xh_animatctrl.cpp
@@ -15845,7 +15845,7 @@ $(OBJS)\auidll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(AUIDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(AUIDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\auidll_version.res: ..\..\src\msw\version.rc $(OBJS)\auidll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_AUI ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_AUI ..\..\src\msw\version.rc
$(OBJS)\auidll_framemanager.obj: ..\..\src\aui\framemanager.cpp $(OBJS)\auidll_framemanager.obj: ..\..\src\aui\framemanager.cpp
$(CXX) -q -c -P -o$@ $(AUIDLL_CXXFLAGS) ..\..\src\aui\framemanager.cpp $(CXX) -q -c -P -o$@ $(AUIDLL_CXXFLAGS) ..\..\src\aui\framemanager.cpp
@@ -15902,7 +15902,7 @@ $(OBJS)\ribbondll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(RIBBONDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(RIBBONDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\ribbondll_version.res: ..\..\src\msw\version.rc $(OBJS)\ribbondll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ribbon$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_RIBBON ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ribbon$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_RIBBON ..\..\src\msw\version.rc
$(OBJS)\ribbondll_art_internal.obj: ..\..\src\ribbon\art_internal.cpp $(OBJS)\ribbondll_art_internal.obj: ..\..\src\ribbon\art_internal.cpp
$(CXX) -q -c -P -o$@ $(RIBBONDLL_CXXFLAGS) ..\..\src\ribbon\art_internal.cpp $(CXX) -q -c -P -o$@ $(RIBBONDLL_CXXFLAGS) ..\..\src\ribbon\art_internal.cpp
@@ -15977,7 +15977,7 @@ $(OBJS)\propgriddll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(PROPGRIDDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(PROPGRIDDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\propgriddll_version.res: ..\..\src\msw\version.rc $(OBJS)\propgriddll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_propgrid$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_PROPGRID ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_propgrid$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_PROPGRID ..\..\src\msw\version.rc
$(OBJS)\propgriddll_advprops.obj: ..\..\src\propgrid\advprops.cpp $(OBJS)\propgriddll_advprops.obj: ..\..\src\propgrid\advprops.cpp
$(CXX) -q -c -P -o$@ $(PROPGRIDDLL_CXXFLAGS) ..\..\src\propgrid\advprops.cpp $(CXX) -q -c -P -o$@ $(PROPGRIDDLL_CXXFLAGS) ..\..\src\propgrid\advprops.cpp
@@ -16034,7 +16034,7 @@ $(OBJS)\richtextdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\richtextdll_version.res: ..\..\src\msw\version.rc $(OBJS)\richtextdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_RICHTEXT ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_RICHTEXT ..\..\src\msw\version.rc
$(OBJS)\richtextdll_richtextbuffer.obj: ..\..\src\richtext\richtextbuffer.cpp $(OBJS)\richtextdll_richtextbuffer.obj: ..\..\src\richtext\richtextbuffer.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) ..\..\src\richtext\richtextbuffer.cpp $(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) ..\..\src\richtext\richtextbuffer.cpp
@@ -16109,7 +16109,7 @@ $(OBJS)\stcdll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(STCDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(STCDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\stcdll_version.res: ..\..\src\msw\version.rc $(OBJS)\stcdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -i..\..\src\stc\scintilla\include -i..\..\src\stc\scintilla\lexlib -i..\..\src\stc\scintilla\src -d__WX__ -dSCI_LEXER -dLINK_LEXERS -dWXUSINGDLL -dWXMAKINGDLL_STC ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_stc$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -i..\..\src\stc\scintilla\include -i..\..\src\stc\scintilla\lexlib -i..\..\src\stc\scintilla\src -d__WX__ -dSCI_LEXER -dLINK_LEXERS -dWXUSINGDLL -dWXMAKINGDLL_STC ..\..\src\msw\version.rc
$(OBJS)\stcdll_stc.obj: ..\..\src\stc\stc.cpp $(OBJS)\stcdll_stc.obj: ..\..\src\stc\stc.cpp
$(CXX) -q -c -P -o$@ $(STCDLL_CXXFLAGS) ..\..\src\stc\stc.cpp $(CXX) -q -c -P -o$@ $(STCDLL_CXXFLAGS) ..\..\src\stc\stc.cpp
@@ -16136,7 +16136,7 @@ $(OBJS)\gldll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(GLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp $(CXX) -q -c -P -o$@ $(GLDLL_CXXFLAGS) -H ..\..\src\common\dummy.cpp
$(OBJS)\gldll_version.res: ..\..\src\msw\version.rc $(OBJS)\gldll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl$(WXCOMPILER)$(VENDORTAG) -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_GL ..\..\src\msw\version.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_67) $(__DEBUG_DEFINE_p_66) $(__NDEBUG_DEFINE_p_65) $(__EXCEPTIONS_DEFINE_p_65) $(__RTTI_DEFINE_p_65) $(__THREAD_DEFINE_p_65) $(__UNICODE_DEFINE_p_67) $(__MSLU_DEFINE_p_65) -i$(SETUPHDIR) -i..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_4) -dWXBUILDING -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl$(WXCOMPILER)$(VENDORTAG) -i$(BCCDIR)\include\windows\sdk -i..\..\src\tiff\libtiff -i..\..\src\jpeg -i..\..\src\png -i..\..\src\zlib -i..\..\src\regex -i..\..\src\expat\lib -dWXUSINGDLL -dWXMAKINGDLL_GL ..\..\src\msw\version.rc
$(OBJS)\gldll_glcmn.obj: ..\..\src\common\glcmn.cpp $(OBJS)\gldll_glcmn.obj: ..\..\src\common\glcmn.cpp
$(CXX) -q -c -P -o$@ $(GLDLL_CXXFLAGS) ..\..\src\common\glcmn.cpp $(CXX) -q -c -P -o$@ $(GLDLL_CXXFLAGS) ..\..\src\common\glcmn.cpp

View File

@@ -5659,7 +5659,7 @@ $(SETUPHDIR)\wx\msw\rcdefs.h: $(SETUPHDIR)\wx\msw ..\..\include\wx\msw\genrcdefs
build_cfg_file: $(SETUPHDIR) build_cfg_file: $(SETUPHDIR)
@echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE) @echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE)
@echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE) @echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE)
@echo WXVER_RELEASE=2 >>$(BUILD_CFG_FILE) @echo WXVER_RELEASE=3 >>$(BUILD_CFG_FILE)
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)

View File

@@ -6174,7 +6174,7 @@ $(SETUPHDIR)\wx\msw\rcdefs.h: $(SETUPHDIR)\wx\msw ..\..\include\wx\msw\genrcdefs
build_cfg_file: $(SETUPHDIR) build_cfg_file: $(SETUPHDIR)
@echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE) @echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE)
@echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE) @echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE)
@echo WXVER_RELEASE=2 >>$(BUILD_CFG_FILE) @echo WXVER_RELEASE=3 >>$(BUILD_CFG_FILE)
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)

View File

@@ -5931,7 +5931,7 @@ $(SETUPHDIR)\wx\msw\rcdefs.h : $(SETUPHDIR)\wx\msw ..\..\include\wx\msw\genrcde
build_cfg_file : .SYMBOLIC $(SETUPHDIR) build_cfg_file : .SYMBOLIC $(SETUPHDIR)
@echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE) @echo WXVER_MAJOR=3 >$(BUILD_CFG_FILE)
@echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE) @echo WXVER_MINOR=0 >>$(BUILD_CFG_FILE)
@echo WXVER_RELEASE=2 >>$(BUILD_CFG_FILE) @echo WXVER_RELEASE=3 >>$(BUILD_CFG_FILE)
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)

View File

@@ -70,6 +70,9 @@
<wxBaseLibNamePrefix>wxbase$(wxShortVersionString)$(wxSuffix)</wxBaseLibNamePrefix> <wxBaseLibNamePrefix>wxbase$(wxShortVersionString)$(wxSuffix)</wxBaseLibNamePrefix>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile>
<AdditionalOptions Condition="'$(PlatformToolset)' == 'v140_xp'">/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link> <Link>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;advapi32.lib;comctl32.lib;rpcrt4.lib;wsock32.lib;wininet.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;advapi32.lib;comctl32.lib;rpcrt4.lib;wsock32.lib;wininet.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>

View File

@@ -7,7 +7,7 @@ Building Projects
----------------- -----------------
makeprojects is an AppleScript that uses the XML Tools from makeprojects is an AppleScript that uses the XML Tools from
http://www.latenightsw.com/freeware/XMLTools2/ http://www.latenightsw.com/freeware/xml-tools/
the reason for this script is to support a single place of definition for the files needed the reason for this script is to support a single place of definition for the files needed
for a certain platform by building Xcode projects from the bakefiles files.bkl file list. for a certain platform by building Xcode projects from the bakefiles files.bkl file list.
@@ -25,6 +25,6 @@ Prerequisites
you need the xml scripting additions from latenightsw, you need the xml scripting additions from latenightsw,
http://www.latenightsw.com/freeware/XMLTools2/ http://www.latenightsw.com/freeware/xml-tools/
Stefan Csomor Stefan Csomor

View File

@@ -10,8 +10,8 @@ OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS) -fvisibility-inlines-hidden
GCC_PREFIX_HEADER = $(WXROOT)/include/wx/wxprec.h GCC_PREFIX_HEADER = $(WXROOT)/include/wx/wxprec.h
GCC_PRECOMPILE_PREFIX_HEADER = YES GCC_PRECOMPILE_PREFIX_HEADER = YES
HEADER_SEARCH_PATHS = "$(WXROOT)/src/tiff/libtiff" HEADER_SEARCH_PATHS = "$(WXROOT)/src/tiff/libtiff" "$(WXROOT)/src/regex"
USER_HEADER_SEARCH_PATHS = "$(WXROOT)/include" "$(WXROOT)/build/osx/setup/$(WXTOOLKIT)/include" "$(WXROOT)/src/zlib" "$(WXROOT)/src/jpeg" "$(WXROOT)/src/png" "$(WXROOT)/src/regex" "$(WXROOT)/src/expat/lib" "$(WXROOT)/src/tiff/libtiff" "$(WXROOT)/src/stc/scintilla/src" "$(WXROOT)/src/stc/scintilla/include" "$(WXROOT)/src/stc/scintilla/lexlib" USER_HEADER_SEARCH_PATHS = "$(WXROOT)/include" "$(WXROOT)/build/osx/setup/$(WXTOOLKIT)/include" "$(WXROOT)/src/zlib" "$(WXROOT)/src/jpeg" "$(WXROOT)/src/png" "$(WXROOT)/src/expat/lib" "$(WXROOT)/src/tiff/libtiff" "$(WXROOT)/src/stc/scintilla/src" "$(WXROOT)/src/stc/scintilla/include" "$(WXROOT)/src/stc/scintilla/lexlib"
ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_SEARCH_USER_PATHS = NO
GCC_PREPROCESSOR_DEFINITIONS = $(WX_PREPROCESSOR_DEFINITIONS) WXBUILDING $(WXPLATFORM) __WX__ wxUSE_BASE=1 _FILE_OFFSET_BITS=64 _LARGE_FILES MACOS_CLASSIC __WXMAC_XCODE__=1 SCI_LEXER WX_PRECOMP=1 wxUSE_UNICODE_UTF8=0 wxUSE_UNICODE_WCHAR=1 GCC_PREPROCESSOR_DEFINITIONS = $(WX_PREPROCESSOR_DEFINITIONS) WXBUILDING $(WXPLATFORM) __WX__ wxUSE_BASE=1 _FILE_OFFSET_BITS=64 _LARGE_FILES MACOS_CLASSIC __WXMAC_XCODE__=1 SCI_LEXER WX_PRECOMP=1 wxUSE_UNICODE_UTF8=0 wxUSE_UNICODE_WCHAR=1
GCC_PFE_FILE_C_DIALECTS = c++ objective-c++ GCC_PFE_FILE_C_DIALECTS = c++ objective-c++

View File

@@ -1,4 +1,4 @@
// update this file with new version numbers // update this file with new version numbers
DYLIB_COMPATIBILITY_VERSION = 3.0 DYLIB_COMPATIBILITY_VERSION = 3.0
DYLIB_CURRENT_VERSION = 3.0.2 DYLIB_CURRENT_VERSION = 3.0.3

45
build/tools/appveyor.bat Normal file
View File

@@ -0,0 +1,45 @@
goto %TOOLSET%
:msbuild
cd build\msw
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" wx_vc12.sln
goto :eof
:nmake
cd build\msw
call "C:\Program Files (x86)\Microsoft Visual Studio %VS%\VC\vcvarsall.bat" %ARCH%
nmake -f makefile.vc BUILD=%BUILD%
goto :eof
:mingw
cd build\msw
path C:\MinGW\bin;%path%
echo --- Tools versions:
g++ --version | head -1
mingw32-make --version | head -1
ar --version | head -1
echo.
echo --- Starting the build
echo.
mingw32-make SHELL=cmd -f makefile.gcc setup_h BUILD=debug SHARED=0 USE_GUI=0
mingw32-make SHELL=cmd -j3 -f makefile.gcc BUILD=debug SHARED=0 USE_GUI=0
goto :eof
:msys2
path C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%path%
set CHERE_INVOKING=yes
:: Workaround for "configure: Bad file descriptor"
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
bash -lc "g++ --version"
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --enable-debug --disable-xrc && make -j3"
goto :eof
:cygwin
C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P libjpeg-devel -P libpng-devel -P libtiff-devel -P libexpat-devel
path c:\cygwin\bin;%path%
set CHERE_INVOKING=yes
:: Workaround for "configure: Bad file descriptor"
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
bash -lc "g++ --version"
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --enable-debug --disable-shared --disable-html --disable-richtext --disable-stc && make -j3"
goto :eof

View File

@@ -1,82 +0,0 @@
rem Uncomment the next line to set the version; used also in wxWidgets.iss
SET WXW_VER=3.0.2
if (%WXW_VER%)==() SET WXW_VER=SVN
echo docs building for %WXW_VER%
rem This builds the docs in %WXWIN% in a number of formats
rem and a clean inno setup in a second tree
rem it uses a number of tools, gnuwin32 zip & dos2unix,
rem writes a log file in c:\
echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
set WXWIN=c:\wx\wxWidgets
set DAILY=c:\daily
set INNO=c:\wx\inno\wxWidgets
rem svn already in my path...
set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1;c:\wx\doxygen\bin
set PATH=%PATH%;C:\wx\Graphviz\bin
echo %PATH% >> c:\temp.log
rem update wxwidgets (holds docs) and inno (wxMSW setup.exe only)
c:
cd %WXWIN%
svn cleanup >> c:\temp.log
svn up >> c:\temp.log
rem now inno
cd %INNO% >> c:\temp.log
rem Don't update the svn automatically
rem svn cleanup >> c:\temp.log
rem svn up >> c:\temp.log
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
del c*.*
svn up configure
svn up configure.in
svn up config.guess
svn up config.sub
dos2unix configure
dos2unix config.guess
dos2unix config.sub
copy include\wx\msw\setup0.h include\wx\msw\setup.h
copy include\wx\univ\setup0.h include\wx\univ\setup.h
echo SVN update >> c:\temp.log
rem make chm
rem Now create standalone copies of docs (chm and htb)
cd %WXWIN%\docs\doxygen
del out\html\*.html
del out\html\*.htb
del out\html\*.zip
del out\*.chm
call regen chm
cd %WXWIN%\docs\doxygen\out
zip wxWidgets-%WXW_VER%-docs-chm.zip wx.chm
copy wxWidgets-%WXW_VER%-docs-chm.zip %DAILY%
cd html
del *.dot
del *.md5
zip -r wx.htb *.*
copy wx.htb %DAILY%\wxWidgets-%WXW_VER%-docs-html.zip
zip wxWidgets-%WXW_VER%-docs-htb.zip wx.htb
copy wxWidgets-%WXW_VER%-docs-htb.zip %DAILY%
mkdir %INNO%\docs\htmlhelp
copy %WXWIN%\docs\doxygen\out\wx.chm %INNO%\docs\htmlhelp\wx.chm
cd %WXWIN%\build\tools
iscc wxwidgets.iss >> c:\temp.log
copy %INNO%\..\wxMSW-%WXW_VER%-Setup.exe c:\daily
echo docs built for %WXW_VER%
echo docs built for %WXW_VER% >> c:\temp.log

View File

@@ -16,6 +16,8 @@ import shutil
import types import types
import subprocess import subprocess
PY3 = sys.version_info[0] == 3
# builder object # builder object
wxBuilder = None wxBuilder = None
@@ -201,6 +203,7 @@ def main(scriptName, args):
"jobs" : (defJobs, "Number of jobs to run at one time in make. Default: %s" % defJobs), "jobs" : (defJobs, "Number of jobs to run at one time in make. Default: %s" % defJobs),
"install" : (False, "Install the toolkit to the installdir directory, or the default dir."), "install" : (False, "Install the toolkit to the installdir directory, or the default dir."),
"installdir" : ("", "Directory where built wxWidgets will be installed"), "installdir" : ("", "Directory where built wxWidgets will be installed"),
"gtk3" : (False, "On Linux build for gtk3 (default gtk2)"),
"mac_distdir" : (None, "If set on Mac, will create an installer package in the specified dir."), "mac_distdir" : (None, "If set on Mac, will create an installer package in the specified dir."),
"mac_universal_binary" "mac_universal_binary"
: ("", "Comma separated list of architectures to include in the Mac universal binary"), : ("", "Comma separated list of architectures to include in the Mac universal binary"),
@@ -213,8 +216,8 @@ def main(scriptName, args):
"rebake" : (False, "Regenerate Bakefile and autoconf files"), "rebake" : (False, "Regenerate Bakefile and autoconf files"),
"unicode" : (False, "Build the library with unicode support"), "unicode" : (False, "Build the library with unicode support"),
"wxpython" : (False, "Build the wxWidgets library with all options needed by wxPython"), "wxpython" : (False, "Build the wxWidgets library with all options needed by wxPython"),
"cocoa" : (False, "Build the old Mac Cocoa port."), "osx_cocoa" : (False, "Build the Cocoa port"),
"osx_cocoa" : (False, "Build the new Cocoa port"), "osx_carbon" : (False, "Build the Carbon port"),
"shared" : (False, "Build wx as a dynamic library"), "shared" : (False, "Build wx as a dynamic library"),
"extra_make" : ("", "Extra args to pass on [n]make's command line."), "extra_make" : ("", "Extra args to pass on [n]make's command line."),
"features" : ("", "A comma-separated list of wxUSE_XYZ defines on Win, or a list of configure flags on unix."), "features" : ("", "A comma-separated list of wxUSE_XYZ defines on Win, or a list of configure flags on unix."),
@@ -258,11 +261,13 @@ def main(scriptName, args):
if options.debug: if options.debug:
configure_opts.append("--enable-debug") configure_opts.append("--enable-debug")
if options.cocoa:
configure_opts.append("--with-old_cocoa")
if options.osx_cocoa: if options.osx_cocoa:
configure_opts.append("--with-osx_cocoa") configure_opts.append("--with-osx_cocoa")
elif options.osx_carbon:
configure_opts.append("--with-osx_carbon")
if options.gtk3:
configure_opts.append("--with-gtk=3")
wxpy_configure_opts = [ wxpy_configure_opts = [
"--with-opengl", "--with-opengl",
@@ -289,14 +294,10 @@ def main(scriptName, args):
# TODO: there should be a command line option to set the SDK... # TODO: there should be a command line option to set the SDK...
if sys.platform.startswith("darwin"): if sys.platform.startswith("darwin"):
for xcodePath in getXcodePaths(): for xcodePath in getXcodePaths():
sdks = [ sdks = [ xcodePath+"/SDKs/MacOSX10.{}.sdk".format(n)
xcodePath+"/SDKs/MacOSX10.5.sdk", for n in range(5, 15) ]
xcodePath+"/SDKs/MacOSX10.6.sdk",
xcodePath+"/SDKs/MacOSX10.7.sdk",
xcodePath+"/SDKs/MacOSX10.8.sdk",
]
# use the lowest available sdk # use the lowest available sdk on the build machine
for sdk in sdks: for sdk in sdks:
if os.path.exists(sdk): if os.path.exists(sdk):
wxpy_configure_opts.append( wxpy_configure_opts.append(
@@ -407,7 +408,10 @@ def main(scriptName, args):
mswIncludeDir = os.path.join(wxRootDir, "include", "wx", "msw") mswIncludeDir = os.path.join(wxRootDir, "include", "wx", "msw")
setup0File = os.path.join(mswIncludeDir, "setup0.h") setup0File = os.path.join(mswIncludeDir, "setup0.h")
setupText = open(setup0File, "rb").read() with open(setup0File, "rb") as f:
setupText = f.read()
if PY3:
setupText = setupText.decode('utf-8')
for flag in flags: for flag in flags:
setupText, subsMade = re.subn(flag + "\s+?\d", "%s %s" % (flag, flags[flag]), setupText) setupText, subsMade = re.subn(flag + "\s+?\d", "%s %s" % (flag, flags[flag]), setupText)
@@ -415,9 +419,11 @@ def main(scriptName, args):
print("Flag %s wasn't found in setup0.h!" % flag) print("Flag %s wasn't found in setup0.h!" % flag)
sys.exit(1) sys.exit(1)
setupFile = open(os.path.join(mswIncludeDir, "setup.h"), "wb") with open(os.path.join(mswIncludeDir, "setup.h"), "wb") as f:
setupFile.write(setupText) if PY3:
setupFile.close() setupText = setupText.encode('utf-8')
f.write(setupText)
args = [] args = []
if toolkit == "msvc": if toolkit == "msvc":
print("setting build options...") print("setting build options...")

View File

@@ -1,84 +0,0 @@
#!/bin/sh
#
# This is the script used by VZ to make wxWidgets releases. It is unofficial
# because it must be ran from git-svn repository and not the official svn one
# and relies on having a recent Perl installation. But it has the advantage of
# being very simple because git knows which files should be included in the
# distribution and we don't need to maintain the list of them ourselves but we
# also don't run the risk of including anything unwanted.
#
# Another prerequisite for using it is to create the list of files to be
# converted to DOS EOLs for Windows distribution, it must exist in the parent
# directory and be called eol-native. This can be done using the companion
# svn-find-native-eols.pl script. And will only need to be redone when
# svn:eol-style property changes for any files (most likely because it will be
# set for a newly added file).
#
# To summarize, here are the steps to create the release:
#
# % cd $svn
# % $git/build/tools/svn-find-native-eols.pl > $git/../eol-native
# % cd $git
# % git svn tag WX_x_y_z
# % ./build/tools/git-make-release x.y.z
# % ... upload ../wxWidgets-x.y.z.{7z,tar.bz2,zip} ...
#
# If anything is wrong and some minor fixes are required, only the last two
# steps (tagging and git-make-release) must be repeated.
version=$1
if [ -z "$version" ]; then
echo "Must specify the distribution version." >&2
exit 1
fi
EOL_FILE=../eol-native
if [ ! -r "$EOL_FILE" ]; then
echo "Use build/tools/svn-find-native-eols.pl to generate $EOL_FILE." >&2
exit 1
fi
set -e
set -x
prefix=wxWidgets-$version
destdir=$(dirname $(readlink -f $0))/../../../$prefix
cleanup() {
rm -rf $destdir
}
trap cleanup INT TERM EXIT
cleanup
git archive --prefix=$prefix/ HEAD | (cd ..; tar x)
cd ..
# All setup0.h files are supposed to be renamed to just setup.h when checked
# out and in the distribution.
find $prefix/include/wx -type f -name setup0.h | while read f; do
mv $f ${f%0.h}.h
done
# Compile gettext catalogs.
make -C $prefix/locale allmo
tar cjf $prefix.tar.bz2 $prefix
cd $prefix
set +x
for f in `cat $EOL_FILE`; do
case $f in
*/setup0.h)
# we renamed this file above so adjust
f=${f%0.h}.h
;;
esac
unix2dos -q $f
done
set -x
zip -q -r ../$prefix.zip .
7z a ../$prefix.7z . >/dev/null
7z a ../${prefix}_headers.7z include >/dev/null

View File

@@ -1,30 +0,0 @@
#!/bin/sh
#
# This script creates archives of HTML documentation in tar.bz2 and zip
# formats. It relies on docs/doxygen/regen.sh to really generate the docs.
#
# The script should be ran from the root of wxWidgets checkout and creates the
# output files in its parent directory.
version=$1
if [ -z "$version" ]; then
echo "Must specify the distribution version." >&2
exit 1
fi
set -e
set -x
docs_dir_name=wxWidgets-$version
docs_file_basename=wxWidgets-$version-docs-html
cd docs/doxygen
./regen.sh html
cd out
mv html $docs_dir_name
tar cjf ../../../../$docs_file_basename.tar.bz2 $docs_dir_name
cd $docs_dir_name
zip -q -r ../../../../../$docs_file_basename.zip .
cd ..
mv $docs_dir_name html

64
build/tools/msvs/build2015.bat Executable file
View File

@@ -0,0 +1,64 @@
if "%1" == "" goto ERR_NOPARM
if "%2" == "" goto ERR_NOPARM
if "%3" == "" goto ERR_NOPARM
cd c:\wxWidgets-%1.%2.%3\build\msw
rem ================ VS 2015 Official Build ===============
rem
rem Copy this file to the \wxwidgets-x.y.z\build\msw folder
rem
rem Open a Visual Studio 2015 Developer command prompt.
rem
rem cd \wxwidgets-x.y.z\build\msw
rem build2015
rem
rem ========================================================
rem Remove the existing destination folders if the exist so that a complete rebuild occurs.
rmdir vc140_mswuddll /s /q
rmdir vc140_mswuddll_x64 /s /q
rmdir vc140_mswudll /s /q
rmdir vc140_mswudll_x64 /s /q
rmdir ..\..\lib\vc140_dll /s /q
rmdir ..\..\lib\vc140_x64_dll /s /q
rem Delete the build output files from the last run, if any.
del 2015x86_Debug.txt
del 2015x86_Release.txt
del 2015x64_Debug.txt
del 2015x64_Release.txt
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
rem 64 bit release build
rem ------------------
nmake -f makefile.vc BUILD=release SHARED=1 COMPILER_VERSION=140 OFFICIAL_BUILD=1 TARGET_CPU=AMD64 >> 2015x64_Release.txt
rem 64 bit debug build
rem ------------------
nmake -f makefile.vc BUILD=debug SHARED=1 COMPILER_VERSION=140 OFFICIAL_BUILD=1 TARGET_CPU=AMD64 >> 2015x64_Debug.txt
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
rem 32 bit release build
rem ------------------
nmake -f makefile.vc BUILD=release SHARED=1 COMPILER_VERSION=140 OFFICIAL_BUILD=1 CPPFLAGS=/arch:SSE CFLAGS=/arch:SSE >> 2015x86_Release.txt
rem 32 bit debug build
rem ------------------
nmake -f makefile.vc BUILD=debug SHARED=1 COMPILER_VERSION=140 OFFICIAL_BUILD=1 CPPFLAGS=/arch:SSE CFLAGS=/arch:SSE >> 2015x86_Debug.txt
goto End
:ERR_NOPARM
@echo.
@echo ERROR: NO PARAMETER SUPPLIED
@echo MajorVers MinorVers BuildVers
:End
cd c:\wxWidgets

71
build/tools/release.bat Normal file
View File

@@ -0,0 +1,71 @@
@echo off
setlocal enabledelayedexpansion
rem This script builds the CHM manual and the Windows installer for release.
if "%1" == "" (
echo You must specify a release version.
exit /b 1
)
pushd "%~dp0..\.."
set root=%cd%
set version=%1
set prefix=wxWidgets-%1
set release_path=%root%\distrib\release\%version%
where /q 7z
if %ERRORLEVEL% neq 0 (
echo Error: 7-Zip was not found in your PATH.
exit /b 1
)
where /q dot
if %ERRORLEVEL% neq 0 (
echo Error: GraphViz was not found in your PATH.
exit /b 1
)
where /q doxygen
if %ERRORLEVEL% neq 0 (
echo Error: Doxygen was not found in your PATH.
exit /b 1
)
where /q hhc
if %ERRORLEVEL% neq 0 (
echo Error: HTML Help Workshop was not found in your PATH.
exit /b 1
)
where /q iscc
if %ERRORLEVEL% neq 0 (
echo Error: Inno Setup was not found in your PATH.
exit /b 1
)
if not exist "%release_path%\%prefix%.zip" (
echo Error: Release ZIP package not found: %release_path%\%prefix%.zip
exit /b 1
)
pushd "%root%\docs\doxygen"
echo Building the CHM manual...
call regen.bat chm
if %errorlevel% neq 0 exit /b %errorlevel%
copy out\wx.chm "%release_path%\%prefix%.chm"
popd
if exist "%release_path%\%prefix%" rd /s /q "%release_path%\%prefix%"
md "%release_path%\%prefix%"
pushd "%release_path%\%prefix%"
echo Extracting release ZIP for installer...
7z x "..\%prefix%.zip"
if %errorlevel% neq 0 exit /b %errorlevel%
md docs\htmlhelp
copy "..\%prefix%.chm" docs\htmlhelp\wx.chm
set WXW_VER=%1
echo Building the installer...
iscc /Qp build\tools\wxwidgets.iss
if %errorlevel% neq 0 exit /b %errorlevel%
popd
echo Cleaning up installer files...
rd /s /q "%release_path%\%prefix%"

71
build/tools/release.sh Executable file
View File

@@ -0,0 +1,71 @@
#!/bin/sh
#
# This is the official script used to make wxWidgets releases.
#
# We use the git export features to track which files should be included in the
# distribution and we don't need to maintain the list of them ourselves but we
# also don't run the risk of including anything unwanted.
#
# See docs/tech/tn0022.txt for usage instructions.
version=$1
if [ -z "$version" ]; then
echo "Must specify the distribution version." >&2
exit 1
fi
root="$(readlink -f $(dirname $(readlink -f $0))/../..)"
cd "$root"
if ! git diff --quiet; then
echo "Working copy has modifications, commit or stash them." >&2
exit 2
fi
set -e
set -x
prefix=wxWidgets-$version
destdir="$root/distrib/release/$version"
cleanup() {
rm -rf $destdir/$prefix
}
trap cleanup INT TERM EXIT
cleanup
mkdir -p $destdir
git archive --prefix=$prefix/ HEAD | (cd $destdir; tar x)
cd $destdir
# All setup0.h files are supposed to be renamed to just setup.h when checked
# out and in the distribution.
find $prefix/include/wx -type f -name setup0.h | while read f; do
mv $f ${f%0.h}.h
done
# Compile gettext catalogs.
make -C $prefix/locale allmo
tar cjf $prefix.tar.bz2 $prefix
cd $prefix
zip -q -r ../$prefix.zip .
7z a ../$prefix.7z . >/dev/null
7z a ../${prefix}-headers.7z include >/dev/null
# Build HTML documentation packages.
prefix_docs=$prefix-docs-html
cd "$root/docs/doxygen"
rm -rf out
./regen.sh html
cd out
mv html "$prefix_docs"
tar cjf "$destdir/$prefix_docs.tar.bz2" "$prefix_docs"
cd "$prefix_docs"
zip -q -r "$destdir/$prefix_docs.zip" .
cd "$root"
rm -rf "$root/docs/doxygen/out"

View File

@@ -1,36 +0,0 @@
#!/usr/bin/perl
#
# This script produces the list of all files using native svn:eol-style.
#
# It's used as a helper for distribution creation as this is also the
# list of files which need to have their line endings converted for
# the use on the platform other than the current one.
#
# Notice that the script requires Perl 5.10 (which could be easily avoided but
# as this is for my personal use mostly so far, I didn't bother) and Perl svn
# bindings.
use 5.10.0;
use strict;
use warnings;
use SVN::Client;
# Normally we get the list directly from the server but this is slow,
# so if you already have an (up to date!) svn checkout, you can also
# pass a path to it here, the script will work much faster then.
my $root = $ARGV[0] // 'https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk';
my $ctx = SVN::Client->new
or die "Failed to create svn context, do you have svn auth stored?\n";
my $props = $ctx->proplist($root, undef, 1)
or die "Failed to list properties for files under $root.\n";
foreach my $prop (@$props) {
my $eol = ${$prop->prop_hash()}{'svn:eol-style'};
if ( defined $eol && ($eol eq 'native') ) {
my $rel = $prop->node_name();
substr($rel, 0, length($root) + 1, ''); # +1 for leading slash
say $rel;
}
}

View File

@@ -7,9 +7,9 @@
#define WXW_DIR "..\.." #define WXW_DIR "..\.."
#endif #endif
#if GetEnv("WXW_VER") == "SVN" #if GetEnv("WXW_VER") == "Snapshot"
#define INFOFILE WXW_DIR + "\BuildSVN.txt" #define INFOFILE WXW_DIR + "\BuildSVN.txt"
#define WX_VERSION "SVN" #define WX_VERSION "Snapshot"
#elif GetEnv("WXW_VER") != "" #elif GetEnv("WXW_VER") != ""
#define INFOFILE WXW_DIR + "\docs\msw\install.txt" #define INFOFILE WXW_DIR + "\docs\msw\install.txt"
#define WX_VERSION GetEnv("WXW_VER") #define WX_VERSION GetEnv("WXW_VER")
@@ -44,7 +44,7 @@ SolidCompression=yes
[Files] [Files]
; source files ; source files
Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Excludes: "cocoa,dfb,gtk,gtk1,motif,msdos,os2,osx,wxWindows.xcod*,x11,distrib"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[INI] [INI]
Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org" Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"

852
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -14,7 +14,7 @@ dnl ---------------------------------------------------------------------------
dnl initialization dnl initialization
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
AC_INIT([wxWidgets], [3.0.2], [wx-dev@lists.wxwidgets.org]) AC_INIT([wxWidgets], [3.0.3], [wx-dev@lists.wxwidgets.org])
dnl the file passed to AC_CONFIG_SRCDIR should be specific to our package dnl the file passed to AC_CONFIG_SRCDIR should be specific to our package
AC_CONFIG_SRCDIR([wx-config.in]) AC_CONFIG_SRCDIR([wx-config.in])
@@ -40,7 +40,7 @@ dnl wx_release_number += 1
wx_major_version_number=3 wx_major_version_number=3
wx_minor_version_number=0 wx_minor_version_number=0
wx_release_number=2 wx_release_number=3
wx_subrelease_number=0 wx_subrelease_number=0
WX_RELEASE=$wx_major_version_number.$wx_minor_version_number WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
@@ -838,6 +838,8 @@ dnl wxDC is implemented in terms of wxGraphicsContext in wxOSX so the latter
dnl can't be disabled, don't even provide an option to do it dnl can't be disabled, don't even provide an option to do it
if test "$wxUSE_MAC" != 1; then if test "$wxUSE_MAC" != 1; then
WX_ARG_FEATURE(graphics_ctx,[ --enable-graphics_ctx use graphics context 2D drawing API], wxUSE_GRAPHICS_CONTEXT) WX_ARG_FEATURE(graphics_ctx,[ --enable-graphics_ctx use graphics context 2D drawing API], wxUSE_GRAPHICS_CONTEXT)
else
WX_ARG_DISABLE(qtkit, [ --disable-qtkit force AVFoundation instead of QTKit (requires OS X 10.7+)], wxOSX_USE_QTKIT)
fi fi
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
@@ -3148,7 +3150,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
if test "$ac_find_includes" != "" ; then if test "$ac_find_includes" != "" ; then
AC_MSG_RESULT(found in $ac_find_includes) AC_MSG_RESULT(found in $ac_find_includes)
WX_INCLUDE_PATH_EXIST($ac_find_includes, $TOOLKIT_INCLUDE) WX_INCLUDE_PATH_EXIST($ac_find_includes, $TOOLKIT_INCLUDE)
TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include" TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
else else
save_CFLAGS=$CFLAGS save_CFLAGS=$CFLAGS
CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
@@ -3182,7 +3184,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
AC_MSG_RESULT(found in $ac_find_libraries) AC_MSG_RESULT(found in $ac_find_libraries)
WX_LINK_PATH_EXIST($ac_find_libraries, $GUI_TK_LIBRARY) WX_LINK_PATH_EXIST($ac_find_libraries, $GUI_TK_LIBRARY)
GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
else else
dnl it might happen that we found headers in one of the standard dnl it might happen that we found headers in one of the standard
dnl paths but the libs are elsewhere but still in default (linker) dnl paths but the libs are elsewhere but still in default (linker)
@@ -3223,7 +3225,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
for libsm_ice in "" " -lSM -lICE"; do for libsm_ice in "" " -lSM -lICE"; do
if test "$libs_found" = 0; then if test "$libs_found" = 0; then
save_LIBS="$LIBS" save_LIBS="$LIBS"
LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11" LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt ${libsm_ice} -lX11"
save_CFLAGS=$CFLAGS save_CFLAGS=$CFLAGS
CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
@@ -3242,7 +3244,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
libp_link="$libp" libp_link="$libp"
libsm_ice_link="$libsm_ice" libsm_ice_link="$libsm_ice"
AC_MSG_RESULT( AC_MSG_RESULT(
[need${libp_link}${libsm_ice_link}]) [need ${libp_link} ${libsm_ice_link}])
libs_found=1 libs_found=1
], [] ], []
) )
@@ -3305,7 +3307,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
CFLAGS=$save_CFLAGS CFLAGS=$save_CFLAGS
GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11" GUI_TK_LIBRARY="$GUI_TK_LIBRARY ${libsgm_link} -lXm ${libp_link} -lXmu -lXext -lXt ${libsm_ice_link} -lX11"
TOOLKIT=MOTIF TOOLKIT=MOTIF
GUIDIST=MOTIF_DIST GUIDIST=MOTIF_DIST
fi fi
@@ -3318,7 +3320,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
WX_PATH_FIND_LIBRARIES(Xpm) WX_PATH_FIND_LIBRARIES(Xpm)
if test "$ac_find_libraries" != "" ; then if test "$ac_find_libraries" != "" ; then
WX_LINK_PATH_EXIST($ac_find_libraries,$GUI_TK_LIBRARY) WX_LINK_PATH_EXIST($ac_find_libraries,$GUI_TK_LIBRARY)
GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
AC_MSG_RESULT(found in $ac_find_libraries) AC_MSG_RESULT(found in $ac_find_libraries)
AC_CACHE_CHECK([for X11/xpm.h], AC_CACHE_CHECK([for X11/xpm.h],
@@ -3636,7 +3638,7 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS]) WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS])
if test "$ac_path_to_link" != " -L/usr/lib" -a \ if test "$ac_path_to_link" != " -L/usr/lib" -a \
"$ac_path_to_link" != "$LDFLAGS_GL" ; then "$ac_path_to_link" != "$LDFLAGS_GL" ; then
LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link" LDFLAGS_GL="$LDFLAGS_GL $ac_path_to_link"
fi fi
fi fi
@@ -3651,7 +3653,7 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
if test "$ac_find_libraries" != "std" ; then if test "$ac_find_libraries" != "std" ; then
WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS]) WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS])
if test "$ac_path_to_link" != " -L/usr/lib" ; then if test "$ac_path_to_link" != " -L/usr/lib" ; then
LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link" LDFLAGS_GL="$LDFLAGS_GL $ac_path_to_link"
fi fi
fi fi
OPENGL_LIBS="-lMesaGL -lMesaGLU" OPENGL_LIBS="-lMesaGL -lMesaGLU"
@@ -5410,7 +5412,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
[ [
AC_DEFINE(HAVE_DLOPEN) AC_DEFINE(HAVE_DLOPEN)
HAVE_DL_FUNCS=1 HAVE_DL_FUNCS=1
DL_LINK=" -ldl$DL_LINK" DL_LINK="-ldl $DL_LINK"
], ],
[ [
AC_CHECK_FUNCS(shl_load, AC_CHECK_FUNCS(shl_load,
@@ -5422,7 +5424,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
AC_CHECK_LIB(shl_load, dld, AC_CHECK_LIB(shl_load, dld,
[ [
HAVE_SHL_FUNCS=1 HAVE_SHL_FUNCS=1
DL_LINK=" -ldld$DL_LINK" DL_LINK="-ldld $DL_LINK"
]) ])
]) ])
]) ])
@@ -5596,14 +5598,26 @@ WITH_PLUGIN_SDL=0
if test "$wxUSE_SOUND" = "yes"; then if test "$wxUSE_SOUND" = "yes"; then
if test "$USE_UNIX" = 1 ; then if test "$USE_UNIX" = 1 ; then
if test "$wxUSE_LIBSDL" != "no"; then if test "$wxUSE_LIBSDL" != "no"; then
AM_PATH_SDL([1.2.0], PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([SDL], [sdl2 >= 2.0.0],
[ [
EXTRALIBS_SDL="$SDL_LIBS" EXTRALIBS_SDL="$SDL_LIBS"
CFLAGS="$SDL_CFLAGS $CFLAGS" CFLAGS="$SDL_CFLAGS $CFLAGS"
CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
AC_DEFINE(wxUSE_LIBSDL) AC_DEFINE(wxUSE_LIBSDL)
], ],
[wxUSE_LIBSDL="no"]) [
AC_MSG_NOTICE([SDL 2.0 not available. Falling back to 1.2.])
AM_PATH_SDL([1.2.0],
[
EXTRALIBS_SDL="$SDL_LIBS"
CFLAGS="$SDL_CFLAGS $CFLAGS"
CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
AC_DEFINE(wxUSE_LIBSDL)
],
[wxUSE_LIBSDL="no"])
])
if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
WITH_PLUGIN_SDL=1 WITH_PLUGIN_SDL=1
fi fi
@@ -6535,7 +6549,7 @@ if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
[AC_MSG_RESULT(no)], [AC_MSG_RESULT(no)],
[AC_MSG_RESULT(yes) [AC_MSG_RESULT(yes)
WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"]) WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"])
LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS" LIBS="-lrpcrt4 -loleaut32 -lole32 -luuid $LIBS"
if test "$wxUSE_OLE" = "yes" ; then if test "$wxUSE_OLE" = "yes" ; then
AC_DEFINE(wxUSE_OLE) AC_DEFINE(wxUSE_OLE)
AC_DEFINE(wxUSE_OLE_AUTOMATION) AC_DEFINE(wxUSE_OLE_AUTOMATION)
@@ -7249,7 +7263,7 @@ if test "$wxUSE_WEBVIEW" = "yes"; then
[ [
USE_WEBVIEW_WEBKIT=1 USE_WEBVIEW_WEBKIT=1
CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS" CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS" EXTRALIBS_WEBVIEW="$WEBKIT_LIBS"
], ],
[ [
AC_MSG_WARN([webkitgtk not found.]) AC_MSG_WARN([webkitgtk not found.])
@@ -7546,27 +7560,43 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
dnl Test for at least 0.8 gstreamer module from pkg-config dnl Test for at least 0.8 gstreamer module from pkg-config
dnl Even totem doesn't accept 0.9 evidently. dnl Even totem doesn't accept 0.9 evidently.
dnl dnl
dnl So, we first check to see if 0.10 if available - if not we dnl So, we first check to see if 1.0 if available - if not we
dnl try the older 0.8 version dnl try the older 0.10 and 0.8 versions
dnl ------------------------------------------------------------------- dnl -------------------------------------------------------------------
GST_VERSION_MAJOR=0 GST_VERSION_MAJOR=1
GST_VERSION_MINOR=10 GST_VERSION_MINOR=0
GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
if test "$wxUSE_GSTREAMER8" = "no"; then if test "$wxUSE_GSTREAMER8" = "no"; then
PKG_CHECK_MODULES(GST, PKG_CHECK_MODULES(GST,
[gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION], [gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION],
[ [
wxUSE_GSTREAMER="yes" wxUSE_GSTREAMER="yes"
GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
], ],
[ [
AC_MSG_WARN([GStreamer 0.10 not available, falling back to 0.8]) AC_MSG_WARN([GStreamer 1.0 not available, falling back to 0.10])
GST_VERSION_MINOR=8 GST_VERSION_MAJOR=0
GST_VERSION_MINOR=10
GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
] ]
) )
if test $GST_VERSION_MINOR = "10"; then
PKG_CHECK_MODULES(GST,
[gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION],
[
wxUSE_GSTREAMER="yes"
GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
],
[
AC_MSG_WARN([GStreamer 0.10 not available, falling back to 0.8])
]
)
fi
else else
dnl check only for 0.8 dnl check only for 0.8
GST_VERSION_MAJOR=0
GST_VERSION_MINOR=8 GST_VERSION_MINOR=8
fi fi
@@ -7576,7 +7606,7 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
[gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION], [gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION],
wxUSE_GSTREAMER="yes", wxUSE_GSTREAMER="yes",
[ [
AC_MSG_WARN([GStreamer 0.8/0.10 not available.]) AC_MSG_WARN([GStreamer 0.8/0.10/1.0 not available.])
]) ])
fi fi
@@ -7591,9 +7621,50 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
fi fi
elif test "$wxUSE_MAC" = 1; then elif test "$wxUSE_MAC" = 1; then
dnl We always have the necessary libraries under Mac if test "$wxUSE_OSX_IPHONE" = 1; then
dnl but we need to link with it explicitly. dnl this will also be used for cocoa in the future
GST_LIBS="-framework QTKit" GST_LIBS="-framework AVFoundation -framework CoreMedia"
else
dnl We always have the necessary libraries under Mac
dnl but we need to link with it explicitly.
dnl QTKit is no longer available as of 10.12 SDK
old_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-x objective-c++ $CPPFLAGS"
if test "$wxOSX_USE_QTKIT" = "no"; then
dnl Do not test for QTKit if has been disabled from the command line
AC_DEFINE(wxOSX_USE_QTKIT,0)
GST_LIBS="-framework AVFoundation -framework CoreMedia"
else
dnl check if QTKit is available, otherwise force AVFoundation usage
AC_CHECK_HEADER([QTKit/QTKit.h],
[
GST_LIBS="-framework QTKit"
],
[
AC_DEFINE(wxOSX_USE_QTKIT,0)
wxOSX_USE_QTKIT=no
GST_LIBS="-framework AVFoundation -framework CoreMedia"
])
fi
if test "$wxOSX_USE_QTKIT" = "no"; then
dnl AVKit is only available since OS X 10.9
AC_MSG_CHECKING([if AVKit is available])
AC_TRY_COMPILE(
[#include "AvailabilityMacros.h"],
[
#if defined(MAC_OS_X_VERSION_10_9) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9
// AVKit available
#else
choke me
#endif
],
[GST_LIBS="$GST_LIBS -framework AVKit"; AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no)
)
fi
CPPFLAGS="$old_CPPFLAGS"
fi
fi fi
if test $USE_MEDIA = 1; then if test $USE_MEDIA = 1; then
@@ -8002,6 +8073,7 @@ AC_SUBST(EXTRALIBS_GUI)
AC_SUBST(EXTRALIBS_OPENGL) AC_SUBST(EXTRALIBS_OPENGL)
AC_SUBST(EXTRALIBS_SDL) AC_SUBST(EXTRALIBS_SDL)
AC_SUBST(EXTRALIBS_STC) AC_SUBST(EXTRALIBS_STC)
AC_SUBST(EXTRALIBS_WEBVIEW)
AC_SUBST(WITH_PLUGIN_SDL) AC_SUBST(WITH_PLUGIN_SDL)
AC_SUBST(UNICODE) AC_SUBST(UNICODE)
AC_SUBST(DEBUG_INFO) AC_SUBST(DEBUG_INFO)

View File

@@ -41,7 +41,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
BOMBS_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ BOMBS_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \

View File

@@ -253,5 +253,9 @@ $(OBJS)\bombs_game.obj: .\game.cpp
$(CXX) -q -c -P -o$@ $(BOMBS_CXXFLAGS) .\game.cpp $(CXX) -q -c -P -o$@ $(BOMBS_CXXFLAGS) .\game.cpp
$(OBJS)\bombs_bombs.res: .\bombs.rc $(OBJS)\bombs_bombs.res: .\bombs.rc
<<<<<<< HEAD
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\bombs.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\bombs.rc
=======
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -i$(BCCDIR)\include\windows\sdk -dNOPCH .\bombs.rc
>>>>>>> cbd92ce... Fix resource compiler include path for Borland.

View File

@@ -43,7 +43,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
FORTY_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ FORTY_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \

View File

@@ -289,5 +289,9 @@ $(OBJS)\forty_scorefil.obj: .\scorefil.cpp
$(CXX) -q -c -P -o$@ $(FORTY_CXXFLAGS) .\scorefil.cpp $(CXX) -q -c -P -o$@ $(FORTY_CXXFLAGS) .\scorefil.cpp
$(OBJS)\forty_forty.res: .\forty.rc $(OBJS)\forty_forty.res: .\forty.rc
<<<<<<< HEAD
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\forty.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\forty.rc
=======
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -i$(BCCDIR)\include\windows\sdk -dNOPCH .\forty.rc
>>>>>>> cbd92ce... Fix resource compiler include path for Borland.

View File

@@ -41,7 +41,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
FRACTAL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ FRACTAL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \

View File

@@ -245,5 +245,9 @@ $(OBJS)\fractal_fractal.obj: .\fractal.cpp
$(CXX) -q -c -P -o$@ $(FRACTAL_CXXFLAGS) .\fractal.cpp $(CXX) -q -c -P -o$@ $(FRACTAL_CXXFLAGS) .\fractal.cpp
$(OBJS)\fractal_fractal.res: .\fractal.rc $(OBJS)\fractal_fractal.res: .\fractal.rc
<<<<<<< HEAD
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\fractal.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\fractal.rc
=======
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -i$(BCCDIR)\include\windows\sdk -dNOPCH .\fractal.rc
>>>>>>> cbd92ce... Fix resource compiler include path for Borland.

View File

@@ -41,7 +41,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
LIFE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ LIFE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \

View File

@@ -261,5 +261,9 @@ $(OBJS)\life_reader.obj: .\reader.cpp
$(CXX) -q -c -P -o$@ $(LIFE_CXXFLAGS) .\reader.cpp $(CXX) -q -c -P -o$@ $(LIFE_CXXFLAGS) .\reader.cpp
$(OBJS)\life_life.res: .\life.rc $(OBJS)\life_life.res: .\life.rc
<<<<<<< HEAD
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\life.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\life.rc
=======
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -i$(BCCDIR)\include\windows\sdk -dNOPCH .\life.rc
>>>>>>> cbd92ce... Fix resource compiler include path for Borland.

View File

@@ -42,7 +42,7 @@ wx_top_builddir = @wx_top_builddir@
DESTDIR = DESTDIR =
WX_RELEASE = 3.0 WX_RELEASE = 3.0
WX_VERSION = $(WX_RELEASE).2 WX_VERSION = $(WX_RELEASE).3
LIBDIRNAME = $(wx_top_builddir)/lib LIBDIRNAME = $(wx_top_builddir)/lib
WXPOEM_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ WXPOEM_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \

View File

@@ -253,5 +253,9 @@ $(OBJS)\wxpoem_wxpoem.obj: .\wxpoem.cpp
$(CXX) -q -c -P -o$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp $(CXX) -q -c -P -o$@ $(WXPOEM_CXXFLAGS) .\wxpoem.cpp
$(OBJS)\wxpoem_wxpoem.res: .\wxpoem.rc $(OBJS)\wxpoem_wxpoem.res: .\wxpoem.rc
<<<<<<< HEAD
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\wxpoem.rc brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\wxpoem.rc
=======
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -i$(BCCDIR)\include\windows\sdk -dNOPCH .\wxpoem.rc
>>>>>>> cbd92ce... Fix resource compiler include path for Borland.

View File

@@ -127,6 +127,12 @@ Changes in behaviour not resulting in compilation errors, please read this!
to check if the changes correspond to your expectations. And if you do need to check if the changes correspond to your expectations. And if you do need
the old behaviour please contact us at wx-dev to let us know about it! the old behaviour please contact us at wx-dev to let us know about it!
- Revert to using equally-sized buttons in wxToolBar by default: restore the
behaviour of the pre-3.0 versions in which toolbar buttons had the same
width for the toolbars not using wxTB_HORZ_LAYOUT style. Toolbars with this
style still size their buttons appropriately for their contents as they
already did in the previous 3.0.x releases.
- wxWindow::Freeze/Thaw() are not virtual any more, if you overrode them in - wxWindow::Freeze/Thaw() are not virtual any more, if you overrode them in
your code you need to override DoFreeze/DoThaw() instead now. your code you need to override DoFreeze/DoThaw() instead now.
@@ -345,9 +351,9 @@ Changes in behaviour which may result in compilation errors
- Removed global GetLine() function from wx/protocol/protocol.h, use - Removed global GetLine() function from wx/protocol/protocol.h, use
wxProtocol::ReadLine() instead. wxProtocol::ReadLine() instead.
- wxVariant no longer derives from wxObject. wxVariantData also no longer - wxVariantData no longer derives from wxObject; instead of using
derives from wxObject; instead of using wxDynamicCast with wxVariantData you wxDynamicCast with wxVariantData you can use the macro
can use the macro wxDynamicCastVariantData with the same arguments. wxDynamicCastVariantData with the same arguments.
- wxWindow::Next/PrevControlId() don't exist any more as they couldn't be - wxWindow::Next/PrevControlId() don't exist any more as they couldn't be
implemented correctly any longer because automatically generated ids are not implemented correctly any longer because automatically generated ids are not
@@ -574,6 +580,109 @@ Major new features in this release
3.0.3: (released 2017-05-02)
----------------------------
All:
- Fix wxFileName::MakeRelativeTo() for directory relatively to itself.
- Fix wxLocale::IsOk() return true even if setting the locale failed.
- Fix wxFTP::Pwd() to actually work.
- Null-terminate wxApp::argv for compatibility with the real argv.
Unix:
- Fix wxIPaddress::Hostname() failing if /etc/hosts contained very long names.
- Fix wxDateTime::ParseRfc822Date() for some TZ/DST combinations.
- Fix bug in wxExecute() if child exited too quickly (Kevin B. McCarty).
All (GUI):
- Fix hang when deleting columns from wxTreeListCtrl.
- Fix crash when deleting items from wxTreeListCtrl (Rexxar).
- Allow requesting modern (3.x+) OpenGL version in wxGLCanvas (Fabio Arnold).
- Allow using Ctrl-dragging to add to selection in wxGrid (Knut Petter Lehre).
- Fix several floating point rounding bugs in wxPropertyGrid (Artur Wieczorek).
- Restore support for wxFD_OVERWRITE_PROMPT and wxFD_FILE_MUST_EXIST in
wxGenericFileDialog which was accidentally lost some time ago (Carl Godkin).
- Fix handling of fast consecutive clicks in wxRibbonBar (atobi).
- Fix updating nested window scrollbars in some cases (sbrowne).
- Improve wxLIST_AUTOSIZE_XXX support in generic wxListCtrl (Kinaou Hervé).
- Fix wxPGChoices copy ctor (Snoits).
- Fix wxPixelData<wxImage>::Offset() for alpha (Markus Rollmann).
- Fix bug in wxImage::ClearAlpha() for shared data (Markus Rollmann).
- Accept wxALIGN_CENTRE_HORIZONTAL in wxStaticText XRC handler (David Hart).
- Fix appearance after updating a wxGrid with hidden rows/columns (iwbnwif).
- Make wxAuiNotebookXmlHandler actually work.
- Fix key handling in wxStyledTextCtrl in non-Unicode build (David Costanzo).
wxGTK:
- Support for GStreamer 1.0 in wxMediaCtrl (Sebastian Dröge).
- Fix infinite sizing loop with GTK3 when using wxScrolled with a non-default
target window.
- Fix wxBitmap ctor from XBM for non-square bitmaps.
- Fix crashes in wxGTK3 when running with non-X11 backend (Marco Trevisan).
- Fix coordinates of wxSetCursorEvent propagated to parent windows.
- Fix GTK+ warnings when refreshing wxListCtrl items (Scott Talbert).
- Fix using wxHTTP and wxFTP from worker thread.
- Make items selected from keyboard visible in wxListCtrl (Jonathan Dagresta).
- Cosmetic fix for empty wxCheckBoxes display (Chuddah).
- Fix crashes in wxFileSystemWatcher implementation (David Hart).
- Fix key events codes when using Wayland (David Hart).
wxMSW:
- Fix compilation with g++ 4.9 in non-C++11 mode.
- Fix rendering of owner drawn multi-column menus (Pete Bannister).
- Fix regression in accessibility support (Leland Lucius).
- Fix regression in wxDC drawing with bottom-to-top y axis (Artur Wieczorek).
- Fix compilation with C++Builder XE compiler (Nichka).
- Fix best height of wxSlider with labels but without ticks (Artur Wieczorek).
- Fix initial text value of wxSpinCtrlDouble (Laurent Poujoulat).
- Fix best size calculation for bitmaps with buttons (Artur Wieczorek).
- Fix flicker when resizing windows with status bar (Artur Wieczorek).
- Fix size of the icon returned from wxFSVolume::GetIcon() (troelsk).
- Fix autosize after expanding/collapsing items in wxDataViewCtrl (ciglesias).
- Fix inserting tools removed from wxToolBar back into it (sbrowne).
- Fix disabling submenu items in the menus (Artur Wieczorek).
- Fix wxEVT_TREE_STATE_IMAGE_CLICK generation (Antal).
- Fix wxDV_ROW_LINES in horizontally scrolled wxDataViewCtrl.
- Fix RegisterHotKey() with negative IDs (troelsk).
- Fix event object type for wxEVT_SPINCTRL events.
- Fix bug if wxToolBar tool was deleted from its own handler (Artur Wieczorek).
- Improve wxSearchCtrl appearance, don't make it too tall (Artur Wieczorek).
- Fix creating or modifying file associations under recent Windows versions.
wxOSX:
- Compilation fix for wxWebView under 10.10.
- Fix conversion of wxBitmap to wxImage in 64 bit builds.
- Fix length of text in wxTextDataObject.
- Fix using wxHTTP and wxFTP from worker thread.
- Compilation fix for wxMediaCtrl under 10.12 (Tobias Taschner)
- Added --disable-qtkit to force usage of AVFoundation under 10.7-10.11 (Tobias Taschner)
- Fix wxFileDialog::GetFilterIndex() for file open dialogs (phsilva).
- Fix wxSearchCtrl appearance under 10.10 (John Roberts).
- Fix handling of "Cancel" button in wxSearchCtrl (John Roberts).
- Generate correct events for WXK_NUMPAD_ENTER (John Roberts).
- Fix handling of WXK_NUMPAD_ENTER in wxTextCtrl (John Roberts).
- Don't show wxDatePickerCtrl as being disabled when it isn't (John Roberts).
- Generate wxEVT_TEXT_ENTER for wxTE_PASSWORD controls too (mj_smoker).
- Send wxIconizeEvent when a window is iconized/restore (Rob Krakora).
- Use correct colour for disabled wxStaticText (sbrowne).
- Fix too large top and left margins inside wxStaticBox (sbrowne).
- Fix bottom margins sizes for several controls (sbrowne).
- Fix initial position of controls with layout insets (Tim Kosse).
- Don't allow pasting rich text in non-wxTE_RICH text controls (Tim Kosse).
- Fix printing all pages non-interactively (John Roberts).
- Fix custom paper support (tijsv).
- Return false from wxSound::Create()/IsOk() if the file doesn't exist.
- Fix scrolling behaviour of wxSearchCtrl (John Roberts).
- Add wxTE_{RIGHT,CENTER} support for multiline wxTextCtrl (Andreas Falkenhahn).
- Fix changing year in wxCalendarCtrl using arrows (Lauri Nurmi).
3.0.2: (released 2014-10-06) 3.0.2: (released 2014-10-06)
---------------------------- ----------------------------
@@ -622,6 +731,8 @@ wxMSW:
- Fix setting label of submenu items (Artur Wieczorek). - Fix setting label of submenu items (Artur Wieczorek).
- Fix using Esc as accelerator in the menus. - Fix using Esc as accelerator in the menus.
- Fix wrong initial status bar height in some cases (Artur Wieczorek). - Fix wrong initial status bar height in some cases (Artur Wieczorek).
- Correct wxGetOsDescription() for Windows 10 (Tobias Taschner).
- Fix appearance of checked disabled wxToolBar tools with custom images.
3.0.1: (released 2014-06-15) 3.0.1: (released 2014-06-15)

View File

@@ -1,4 +1,4 @@
# Doxyfile 1.8.2 # Doxyfile 1.8.8
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Project Options # Project Options
@@ -6,11 +6,12 @@
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = wxWidgets PROJECT_NAME = wxWidgets
PROJECT_NUMBER = 3.0.2 PROJECT_NUMBER = 3.0.3
PROJECT_BRIEF = PROJECT_BRIEF =
PROJECT_LOGO = logo.png PROJECT_LOGO = logo.png
OUTPUT_DIRECTORY = out OUTPUT_DIRECTORY = out
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
ALLOW_UNICODE_NAMES = NO
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES REPEAT_BRIEF = YES
@@ -45,7 +46,6 @@ SUBGROUPING = YES
INLINE_GROUPED_CLASSES = NO # TODO: Examine this setting. INLINE_GROUPED_CLASSES = NO # TODO: Examine this setting.
INLINE_SIMPLE_STRUCTS = NO # TODO: Examine this setting. INLINE_SIMPLE_STRUCTS = NO # TODO: Examine this setting.
TYPEDEF_HIDES_STRUCT = NO TYPEDEF_HIDES_STRUCT = NO
SYMBOL_CACHE_SIZE = 0
LOOKUP_CACHE_SIZE = 0 LOOKUP_CACHE_SIZE = 0
@@ -244,6 +244,7 @@ INTERNAL_DOCS = NO
CASE_SENSE_NAMES = NO # Default: YES CASE_SENSE_NAMES = NO # Default: YES
HIDE_SCOPE_NAMES = NO HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES SHOW_INCLUDE_FILES = YES
SHOW_GROUPED_MEMB_INC = NO # TODO: YES
FORCE_LOCAL_INCLUDES = NO FORCE_LOCAL_INCLUDES = NO
INLINE_INFO = YES INLINE_INFO = YES
SORT_MEMBER_DOCS = YES SORT_MEMBER_DOCS = YES
@@ -256,10 +257,8 @@ GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS = WXPERL_MANUAL \
# can contain WXPERL_MANUAL, WXPYTHON_MANUAL keywords WXPYTHON_MANUAL
ENABLED_SECTIONS = WXPERL_MANUAL WXPYTHON_MANUAL
MAX_INITIALIZER_LINES = 30 MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = NO # Default: YES SHOW_USED_FILES = NO # Default: YES
SHOW_FILES = YES SHOW_FILES = YES
@@ -286,7 +285,10 @@ WARN_LOGFILE = doxygen.log
# Input File Options # Input File Options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
INPUT = mainpages groups overviews ../../interface INPUT = mainpages \
groups \
overviews \
../../interface
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h FILE_PATTERNS = *.h
RECURSIVE = YES # Default: NO RECURSIVE = YES # Default: NO
@@ -302,6 +304,7 @@ INPUT_FILTER =
FILTER_PATTERNS = FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO FILTER_SOURCE_FILES = NO
FILTER_SOURCE_PATTERNS = FILTER_SOURCE_PATTERNS =
USE_MDFILE_AS_MAINPAGE =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -314,6 +317,7 @@ STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = NO REFERENCED_BY_RELATION = NO
REFERENCES_RELATION = NO REFERENCES_RELATION = NO
REFERENCES_LINK_SOURCE = YES REFERENCES_LINK_SOURCE = YES
SOURCE_TOOLTIPS = YES
USE_HTAGS = NO USE_HTAGS = NO
VERBATIM_HEADERS = NO # Default: YES VERBATIM_HEADERS = NO # Default: YES
@@ -345,18 +349,6 @@ HTML_COLORSTYLE_GAMMA = 100 # Default: 80
HTML_TIMESTAMP = YES HTML_TIMESTAMP = YES
HTML_DYNAMIC_SECTIONS = YES # Default: NO HTML_DYNAMIC_SECTIONS = YES # Default: NO
HTML_INDEX_NUM_ENTRIES = 100 HTML_INDEX_NUM_ENTRIES = 100
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 1 # Default: 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
EXT_LINKS_IN_WINDOW = YES # Default: NO
FORMULA_FONTSIZE = 10
FORMULA_TRANSPARENT = YES
USE_MATHJAX = NO
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
MATHJAX_EXTENSIONS =
SEARCHENGINE = $(SEARCHENGINE)
SERVER_BASED_SEARCH = $(SERVER_BASED_SEARCH)
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -367,7 +359,7 @@ GENERATE_DOCSET = $(GENERATE_DOCSET)
DOCSET_FEEDNAME = "wxWidgets 3.0" DOCSET_FEEDNAME = "wxWidgets 3.0"
DOCSET_BUNDLE_ID = org.wxwidgets.doxygen.wx30 DOCSET_BUNDLE_ID = org.wxwidgets.doxygen.wx30
DOCSET_PUBLISHER_ID = org.wxwidgets.doxygen DOCSET_PUBLISHER_ID = org.wxwidgets.doxygen
DOCSET_PUBLISHER_NAME = wxWidgets Team DOCSET_PUBLISHER_NAME = wxWidgets
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -405,6 +397,31 @@ GENERATE_ECLIPSEHELP = NO
ECLIPSE_DOC_ID = org.wxwidgets.doxygen ECLIPSE_DOC_ID = org.wxwidgets.doxygen
#---------------------------------------------------------------------------
# Other Output Options
#---------------------------------------------------------------------------
DISABLE_INDEX = NO
GENERATE_TREEVIEW = NO
ENUM_VALUES_PER_LINE = 1 # Default: 4
TREEVIEW_WIDTH = 250
EXT_LINKS_IN_WINDOW = YES # Default: NO
FORMULA_FONTSIZE = 10
FORMULA_TRANSPARENT = YES
USE_MATHJAX = NO
MATHJAX_FORMAT = HTML-CSS
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
MATHJAX_EXTENSIONS =
MATHJAX_CODEFILE =
SEARCHENGINE = $(SEARCHENGINE)
SERVER_BASED_SEARCH = $(SERVER_BASED_SEARCH)
EXTERNAL_SEARCH = NO
SEARCHENGINE_URL =
SEARCHDATA_FILE = searchdata.xml
EXTERNAL_SEARCH_ID =
EXTRA_SEARCH_MAPPINGS =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# LaTeX Output Options # LaTeX Output Options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -418,6 +435,7 @@ PAPER_TYPE = a4wide
EXTRA_PACKAGES = EXTRA_PACKAGES =
LATEX_HEADER = latexdocstart.inc LATEX_HEADER = latexdocstart.inc
LATEX_FOOTER = LATEX_FOOTER =
LATEX_EXTRA_FILES =
PDF_HYPERLINKS = YES PDF_HYPERLINKS = YES
USE_PDFLATEX = YES USE_PDFLATEX = YES
LATEX_BATCHMODE = YES # Default: NO LATEX_BATCHMODE = YES # Default: NO
@@ -445,6 +463,7 @@ RTF_EXTENSIONS_FILE =
GENERATE_MAN = NO GENERATE_MAN = NO
MAN_OUTPUT = man MAN_OUTPUT = man
MAN_EXTENSION = .3 MAN_EXTENSION = .3
MAN_SUBDIR =
MAN_LINKS = NO MAN_LINKS = NO
@@ -454,11 +473,18 @@ MAN_LINKS = NO
GENERATE_XML = $(GENERATE_XML) GENERATE_XML = $(GENERATE_XML)
XML_OUTPUT = xml XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = NO # Default: YES XML_PROGRAMLISTING = NO # Default: YES
#---------------------------------------------------------------------------
# DOCBOOK Output Options
#---------------------------------------------------------------------------
GENERATE_DOCBOOK = NO
DOCBOOK_OUTPUT = docbook
DOCBOOK_PROGRAMLISTING = NO
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# AutoGen Definitions Output Options # AutoGen Definitions Output Options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -486,7 +512,8 @@ EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES SEARCH_INCLUDES = YES
INCLUDE_PATH = INCLUDE_PATH =
INCLUDE_FILE_PATTERNS = INCLUDE_FILE_PATTERNS =
PREDEFINED = wxUSE_BASE wxUSE_GUI PREDEFINED = wxUSE_BASE \
wxUSE_GUI
EXPAND_AS_DEFINED = EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES SKIP_FUNCTION_MACROS = YES
@@ -499,6 +526,7 @@ TAGFILES =
GENERATE_TAGFILE = GENERATE_TAGFILE =
ALLEXTERNALS = NO ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES EXTERNAL_GROUPS = YES
EXTERNAL_PAGES = YES
PERL_PATH = /usr/bin/perl PERL_PATH = /usr/bin/perl
@@ -508,10 +536,11 @@ PERL_PATH = /usr/bin/perl
CLASS_DIAGRAMS = YES CLASS_DIAGRAMS = YES
MSCGEN_PATH = MSCGEN_PATH =
DIA_PATH =
HIDE_UNDOC_RELATIONS = YES HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES # Default: NO HAVE_DOT = YES # Default: NO
DOT_NUM_THREADS = 0 DOT_NUM_THREADS = 0
DOT_FONTNAME = FreeSans # Default: Helvetica DOT_FONTNAME =
DOT_FONTSIZE = 10 DOT_FONTSIZE = 10
DOT_FONTPATH = DOT_FONTPATH =
CLASS_GRAPH = YES CLASS_GRAPH = YES
@@ -528,16 +557,14 @@ GRAPHICAL_HIERARCHY = NO # TODO: Default: YES
DIRECTORY_GRAPH = NO # Default: YES DIRECTORY_GRAPH = NO # Default: YES
DOT_IMAGE_FORMAT = png DOT_IMAGE_FORMAT = png
INTERACTIVE_SVG = NO INTERACTIVE_SVG = NO
DOT_PATH =
DOTFILE_DIRS = DOTFILE_DIRS =
MSCFILE_DIRS = MSCFILE_DIRS =
DIAFILE_DIRS =
PLANTUML_JAR_PATH =
DOT_GRAPH_MAX_NODES = 50 DOT_GRAPH_MAX_NODES = 50
MAX_DOT_GRAPH_DEPTH = 1000 # Default: 0 MAX_DOT_GRAPH_DEPTH = 1000 # Default: 0
DOT_TRANSPARENT = NO DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES GENERATE_LEGEND = YES
DOT_CLEANUP = YES DOT_CLEANUP = YES
# Instead of setting a value for DOT_PATH it's easier and more portable to
# put your dot utility in the PATH. On Windows you'll need to install GraphViz
# tools, and then manually add it to the PATH environment variable.
DOT_PATH =

View File

@@ -23,11 +23,11 @@ div.contents, div.searchresults {
#projectlogo { #projectlogo {
text-align: left; text-align: left;
padding: 0.5em;
} }
#projectnumber { #projectnumber {
font: 120% Tahoma, Arial, sans-serif; font-size: 120%;
font-family: Tahoma, Arial, sans-serif;
text-align: right; text-align: right;
padding: 0.5em 1em; padding: 0.5em 1em;
} }
@@ -99,6 +99,14 @@ div.logo {
margin: 20px; margin: 20px;
} }
table.directory {
line-height: 1.5;
}
.icon {
line-height: 1.25;
}
div.appearance { div.appearance {
margin: 1em 0em; margin: 1em 0em;
} }

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,87 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/" xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16in" width="427.61838"
height="4in" height="100.55876"
id="svg1336" id="svg1336"
sodipodi:version="0.32" sodipodi:version="0.32"
inkscape:version="0.43" inkscape:version="0.48.5 r10040"
version="1.0" version="1.0"
sodipodi:docbase="/home/tierra/Desktop"
sodipodi:docname="title.svg" sodipodi:docname="title.svg"
inkscape:export-filename="/home/tierra/Desktop/title.png" inkscape:export-filename="/home/bryan/Projects/wxwebsite/downloads/logos/title.png"
inkscape:export-xdpi="36" inkscape:export-xdpi="100"
inkscape:export-ydpi="36"> inkscape:export-ydpi="100">
<defs <defs
id="defs1338"> id="defs1338">
<linearGradient
y2="571.52942"
x2="296.72556"
y1="421.6228"
x1="221.02206"
gradientTransform="matrix(1.334164,0,0,1.334164,54.71699,-442.514)"
gradientUnits="userSpaceOnUse"
id="linearGradient33675"
xlink:href="#linearGradient6854"
inkscape:collect="always" />
<linearGradient
y2="520.74225"
x2="222.73837"
y1="520.74225"
x1="139.43103"
gradientTransform="matrix(0.545558,0,0,0.350255,236.4833,37.6074)"
gradientUnits="userSpaceOnUse"
id="linearGradient33671"
xlink:href="#linearGradient4073"
inkscape:collect="always" />
<linearGradient
y2="421.62283"
x2="220.84492"
y1="571.52942"
x1="296.20334"
gradientTransform="matrix(1.334164,0,0,1.334164,-90.28301,-537.514)"
gradientUnits="userSpaceOnUse"
id="linearGradient33668"
xlink:href="#linearGradient6848"
inkscape:collect="always" />
<linearGradient
y2="520.74225"
x2="222.73819"
y1="520.74225"
x1="139.62971"
gradientTransform="matrix(0.545558,0,0,0.350255,91.4834,-57.3926)"
gradientUnits="userSpaceOnUse"
id="linearGradient33664"
xlink:href="#linearGradient4073"
inkscape:collect="always" />
<linearGradient
y2="474.09103"
x2="119.92342"
y1="674.0849"
x1="221.01576"
gradientTransform="matrix(1.000031,0,0,1.000031,-45.00832,-319.1057)"
gradientUnits="userSpaceOnUse"
id="linearGradient33661"
xlink:href="#linearGradient8721"
inkscape:collect="always" />
<linearGradient
y2="520.74255"
x2="222.73912"
y1="520.74255"
x1="139.43112"
gradientTransform="matrix(0.545556,0,0,0.350255,-38.51666,72.6073)"
gradientUnits="userSpaceOnUse"
id="linearGradient33657"
xlink:href="#linearGradient4073"
inkscape:collect="always" />
<linearGradient <linearGradient
id="linearGradient8721"> id="linearGradient8721">
<stop <stop
@@ -126,66 +66,6 @@
offset="1" offset="1"
style="stop-color:#ffff00;stop-opacity:1;" /> style="stop-color:#ffff00;stop-opacity:1;" />
</linearGradient> </linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient8721"
id="linearGradient1644"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000031,0,0,1.000031,-45.00832,-319.1057)"
x1="221.01576"
y1="674.0849"
x2="119.92342"
y2="474.09103" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient1646"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545556,0,0,0.350255,-38.51666,72.6073)"
x1="139.43112"
y1="520.74255"
x2="222.73912"
y2="520.74255" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6848"
id="linearGradient1648"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.334164,0,0,1.334164,-90.28301,-537.514)"
x1="296.20334"
y1="571.52942"
x2="220.84492"
y2="421.62283" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient1650"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545558,0,0,0.350255,91.4834,-57.3926)"
x1="139.62971"
y1="520.74225"
x2="222.73819"
y2="520.74225" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6854"
id="linearGradient1652"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.334164,0,0,1.334164,54.71699,-442.514)"
x1="221.02206"
y1="421.6228"
x2="296.72556"
y2="571.52942" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient1654"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545558,0,0,0.350255,236.4833,37.6074)"
x1="139.43103"
y1="520.74225"
x2="222.73837"
y2="520.74225" />
<linearGradient <linearGradient
inkscape:collect="always" inkscape:collect="always"
xlink:href="#linearGradient8721" xlink:href="#linearGradient8721"
@@ -246,25 +126,99 @@
y1="520.74225" y1="520.74225"
x2="222.73837" x2="222.73837"
y2="520.74225" /> y2="520.74225" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient8721"
id="linearGradient3042"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.000031,0,0,1.000031,-45.00832,-319.1057)"
x1="221.01576"
y1="674.0849"
x2="119.92342"
y2="474.09103" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient3044"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545556,0,0,0.350255,-38.51666,72.6073)"
x1="139.43112"
y1="520.74255"
x2="222.73912"
y2="520.74255" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6848"
id="linearGradient3046"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.334164,0,0,1.334164,-90.28301,-537.514)"
x1="296.20334"
y1="571.52942"
x2="220.84492"
y2="421.62283" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient3048"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545558,0,0,0.350255,91.4834,-57.3926)"
x1="139.62971"
y1="520.74225"
x2="222.73819"
y2="520.74225" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6854"
id="linearGradient3050"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.334164,0,0,1.334164,54.71699,-442.514)"
x1="221.02206"
y1="421.6228"
x2="296.72556"
y2="571.52942" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4073"
id="linearGradient3052"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545558,0,0,0.350255,236.4833,37.6074)"
x1="139.43103"
y1="520.74225"
x2="222.73837"
y2="520.74225" />
</defs> </defs>
<sodipodi:namedview <sodipodi:namedview
inkscape:document-units="in" inkscape:document-units="px"
pagecolor="#ffffff" pagecolor="#ffffff"
bordercolor="#666666" bordercolor="#666666"
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="0.65806102" inkscape:zoom="2"
inkscape:cx="717.74166" inkscape:cx="176.65684"
inkscape:cy="176.20628" inkscape:cy="29.610281"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
id="namedview1340" id="namedview1340"
showguides="true" showguides="true"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
inkscape:window-width="1102" inkscape:window-width="1920"
inkscape:window-height="748" inkscape:window-height="1014"
inkscape:window-x="32" inkscape:window-x="0"
inkscape:window-y="72" /> inkscape:window-y="27"
showgrid="false"
units="px"
guidetolerance="20"
objecttolerance="20"
inkscape:snap-global="true"
inkscape:snap-bbox="false"
inkscape:snap-page="true"
inkscape:bbox-paths="true"
gridtolerance="10"
fit-margin-top="18"
fit-margin-left="18"
fit-margin-right="18"
fit-margin-bottom="18"
inkscape:window-maximized="1" />
<metadata <metadata
id="metadata1342"> id="metadata1342">
<rdf:RDF> <rdf:RDF>
@@ -273,28 +227,34 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<cc:license
rdf:resource="https://creativecommons.org/licenses/sa/1.0/" />
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
<g <g
inkscape:label="Layer 1" inkscape:label="Layer 1"
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="layer1"> id="layer1"
transform="translate(3.6000067,-258.22724)">
<g <g
id="g1457" id="g1457"
transform="matrix(0.954545,0,0,0.954545,21.13638,-1.363475)"> transform="matrix(0.16842101,0,0,0.16842101,10.189468,276.50663)">
<g <g
style="display:inline" style="display:inline"
inkscape:label="Red" inkscape:label="Red"
id="layer2"> id="layer2">
<path <path
id="rect1393" id="rect1393"
d="M 69.33962,154.99997 L 180.66039,154.99997 C 205.22454,154.99997 225,174.77544 225,199.33959 L 225,310.66037 C 225,335.22451 205.22454,354.99998 180.66039,354.99998 L 69.33962,354.99998 C 44.775476,354.99998 25,335.22451 25,310.66037 L 25,199.33959 C 25,174.77544 44.775476,154.99997 69.33962,154.99997 z " d="m 69.33962,154.99997 111.32077,0 c 24.56415,0 44.33961,19.77547 44.33961,44.33962 l 0,111.32078 c 0,24.56414 -19.77546,44.33961 -44.33961,44.33961 l -111.32077,0 C 44.775476,354.99998 25,335.22451 25,310.66037 l 0,-111.32078 c 0,-24.56415 19.775476,-44.33962 44.33962,-44.33962 z"
style="fill:url(#linearGradient1686);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38;stroke-linecap:butt;stroke-linejoin:round;marker-start:none;stroke-miterlimit:20;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> style="fill:url(#linearGradient3042);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38;marker-start:none"
inkscape:connector-curvature="0" />
<path <path
id="path2231" id="path2231"
d="M 182.05654,230.00562 C 133.52565,230.53078 120.26069,286.69673 77.15765,287.25526 C 58.52185,287.49067 42.627272,274.70086 25.000051,259.55648 L 25.000051,311.20874 C 25.000051,335.45743 44.796904,355.00001 69.36112,354.99998 L 180.68067,354.99998 C 205.24489,354.99998 225.00005,335.45745 225.00005,311.20874 L 225.00005,240.95343 C 212.96769,234.34675 199.0342,229.81756 182.05654,230.00562 z " d="m 182.05654,230.00562 c -48.53089,0.52516 -61.79585,56.69111 -104.89889,57.24964 -18.6358,0.23541 -34.530378,-12.5544 -52.157599,-27.69878 l 0,51.65226 c 0,24.24869 19.796853,43.79127 44.361069,43.79124 l 111.31955,0 c 24.56422,0 44.31938,-19.54253 44.31938,-43.79124 l 0,-70.25531 c -12.03236,-6.60668 -25.96585,-11.13587 -42.94351,-10.94781 z"
style="opacity:0.25;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> style="opacity:0.25;fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none"
inkscape:connector-curvature="0" />
<rect <rect
rx="17.843672" rx="17.843672"
ry="17.843672" ry="17.843672"
@@ -303,12 +263,13 @@
height="150" height="150"
width="33" width="33"
id="rect3182" id="rect3182"
style="fill:url(#linearGradient1688);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.25098039" /> style="fill:url(#linearGradient3044);fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path <path
sodipodi:nodetypes="ccccccccc" sodipodi:nodetypes="ccccccccc"
id="path37247" id="path37247"
d="M 69.46811,161.34322 L 180.66022,161.34322 C 201.78838,161.34322 218.65712,178.22195 218.65712,199.34917 L 218.65712,310.66948 C 218.65712,331.80447 201.79163,348.657 180.66022,348.657 L 69.3399,348.657 C 48.208398,348.657 31.343,331.79658 31.343,310.66948 L 31.343,199.31104 C 31.343,178.17908 48.33351,161.34322 69.46811,161.34322 z " d="m 69.46811,161.34322 111.19211,0 c 21.12816,0 37.9969,16.87873 37.9969,38.00595 l 0,111.32031 c 0,21.13499 -16.86549,37.98752 -37.9969,37.98752 l -111.32032,0 c -21.131502,0 -37.9969,-16.86042 -37.9969,-37.98752 l 0,-111.35844 c 0,-21.13196 16.99051,-37.96782 38.12511,-37.96782 z"
style="opacity:1;fill:none;fill-opacity:0.50196078;fill-rule:nonzero;stroke:#800000;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;marker-start:none;stroke-miterlimit:20;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078" /> style="fill:none;stroke:#800000;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:20;stroke-opacity:0.50196078;stroke-dasharray:none;stroke-dashoffset:0;marker-start:none"
inkscape:connector-curvature="0" />
</g> </g>
<g <g
style="display:inline" style="display:inline"
@@ -316,12 +277,14 @@
id="layer3"> id="layer3">
<path <path
id="path5922" id="path5922"
d="M 199.33962,24.99998 L 310.6604,24.99998 C 335.22455,24.99998 355,44.77545 355,69.33958 L 355,180.66037 C 355,205.22451 335.22455,224.99998 310.6604,224.99998 L 199.33962,224.99998 C 174.77548,224.99998 155,205.22451 155,180.66037 L 155,69.33958 C 155,44.77545 174.77548,24.99998 199.33962,24.99998 z " d="m 199.33962,24.99998 111.32078,0 c 24.56415,0 44.3396,19.77547 44.3396,44.3396 l 0,111.32079 c 0,24.56414 -19.77545,44.33961 -44.3396,44.33961 l -111.32078,0 C 174.77548,224.99998 155,205.22451 155,180.66037 l 0,-111.32079 c 0,-24.56413 19.77548,-44.3396 44.33962,-44.3396 z"
style="fill:url(#linearGradient1690);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38.28099823;stroke-linecap:butt;stroke-linejoin:miter;marker-start:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.37647059" /> style="fill:url(#linearGradient3046);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38.28099823;marker-start:none"
inkscape:connector-curvature="0" />
<path <path
id="path5924" id="path5924"
d="M 312.05649,100.00562 C 263.5256,100.5308 250.26065,156.69674 207.1576,157.25527 C 188.52179,157.49067 172.62722,144.70086 155,129.55648 L 155,181.20875 C 155,205.45743 174.79685,225.00001 199.36106,224.99998 L 310.68063,224.99998 C 335.24483,224.99998 355,205.45745 355,181.20875 L 355,110.95344 C 342.96764,104.34675 329.03415,99.81756 312.05649,100.00562 z " d="M 312.05649,100.00562 C 263.5256,100.5308 250.26065,156.69674 207.1576,157.25527 188.52179,157.49067 172.62722,144.70086 155,129.55648 l 0,51.65227 c 0,24.24868 19.79685,43.79126 44.36106,43.79123 l 111.31957,0 c 24.5642,0 44.31937,-19.54253 44.31937,-43.79123 l 0,-70.25531 c -12.03236,-6.60669 -25.96585,-11.13588 -42.94351,-10.94782 z"
style="opacity:0.25;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> style="opacity:0.25;fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:none"
inkscape:connector-curvature="0" />
<rect <rect
rx="17.843672" rx="17.843672"
ry="17.843672" ry="17.843672"
@@ -330,24 +293,27 @@
height="150" height="150"
width="33" width="33"
id="rect5926" id="rect5926"
style="fill:url(#linearGradient1692);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.25098039" /> style="fill:url(#linearGradient3048);fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path <path
style="opacity:1;fill:none;fill-opacity:0.50196078;fill-rule:nonzero;stroke:#000080;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;marker-start:none;stroke-miterlimit:20;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078;display:inline" style="fill:none;stroke:#000080;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:20;stroke-opacity:0.50196078;stroke-dasharray:none;stroke-dashoffset:0;marker-start:none;display:inline"
d="M 199.46811,31.34322 L 310.66022,31.34322 C 331.78838,31.34322 348.65712,48.22195 348.65712,69.34917 L 348.65712,180.66948 C 348.65712,201.80447 331.79163,218.657 310.66022,218.657 L 199.3399,218.657 C 178.2084,218.657 161.343,201.79658 161.343,180.66948 L 161.343,69.31104 C 161.343,48.17908 178.33351,31.34322 199.46811,31.34322 z " d="m 199.46811,31.34322 111.19211,0 c 21.12816,0 37.9969,16.87873 37.9969,38.00595 l 0,111.32031 c 0,21.13499 -16.86549,37.98752 -37.9969,37.98752 l -111.32032,0 c -21.1315,0 -37.9969,-16.86042 -37.9969,-37.98752 l 0,-111.35844 c 0,-21.13196 16.99051,-37.96782 38.12511,-37.96782 z"
id="path41636" id="path41636"
sodipodi:nodetypes="ccccccccc" /> sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0" />
</g> </g>
<g <g
inkscape:label="Yellow" inkscape:label="Yellow"
id="layer4"> id="layer4">
<path <path
id="path5936" id="path5936"
d="M 344.33962,119.99997 L 455.66039,119.99997 C 480.22454,119.99997 500,139.77544 500,164.33959 L 500,275.66037 C 500,300.22451 480.22454,319.99998 455.66039,319.99998 L 344.33962,319.99998 C 319.77547,319.99998 300,300.22451 300,275.66037 L 300,164.33959 C 300,139.77544 319.77547,119.99997 344.33962,119.99997 z " d="m 344.33962,119.99997 111.32077,0 c 24.56415,0 44.33961,19.77547 44.33961,44.33962 l 0,111.32078 c 0,24.56414 -19.77546,44.33961 -44.33961,44.33961 l -111.32077,0 C 319.77547,319.99998 300,300.22451 300,275.66037 l 0,-111.32078 c 0,-24.56415 19.77547,-44.33962 44.33962,-44.33962 z"
style="fill:url(#linearGradient1694);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38.28144073;stroke-linecap:butt;stroke-linejoin:miter;marker-start:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.37647059;display:inline" /> style="fill:url(#linearGradient3050);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38.28144073;marker-start:none;display:inline"
inkscape:connector-curvature="0" />
<path <path
id="path5938" id="path5938"
d="M 457.05649,195.00562 C 408.5256,195.53079 395.26065,251.69673 352.1576,252.25526 C 333.52179,252.49067 317.62722,239.70086 300,224.55647 L 300,276.20875 C 300,300.45743 319.79685,320.00001 344.36106,319.99998 L 455.68063,319.99998 C 480.24484,319.99998 500,300.45745 500,276.20875 L 500,205.95343 C 487.96764,199.34674 474.03416,194.81756 457.05649,195.00562 z " d="M 457.05649,195.00562 C 408.5256,195.53079 395.26065,251.69673 352.1576,252.25526 333.52179,252.49067 317.62722,239.70086 300,224.55647 l 0,51.65228 c 0,24.24868 19.79685,43.79126 44.36106,43.79123 l 111.31957,0 C 480.24484,319.99998 500,300.45745 500,276.20875 l 0,-70.25532 c -12.03236,-6.60669 -25.96584,-11.13587 -42.94351,-10.94781 z"
style="opacity:0.25;fill:#c0c000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline" /> style="opacity:0.25;fill:#c0c000;fill-opacity:1;fill-rule:evenodd;stroke:none;display:inline"
inkscape:connector-curvature="0" />
<rect <rect
rx="17.843672" rx="17.843672"
ry="17.843672" ry="17.843672"
@@ -356,41 +322,192 @@
height="150" height="150"
width="33" width="33"
id="rect5940" id="rect5940"
style="fill:url(#linearGradient1696);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.25098039;display:inline" /> style="fill:url(#linearGradient3052);fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" />
<path <path
sodipodi:nodetypes="ccccccccc" sodipodi:nodetypes="ccccccccc"
id="path42512" id="path42512"
d="M 344.46811,126.34322 L 455.66022,126.34322 C 476.78838,126.34322 493.65712,143.22195 493.65712,164.34917 L 493.65712,275.66948 C 493.65712,296.80447 476.79163,313.657 455.66022,313.657 L 344.3399,313.657 C 323.2084,313.657 306.343,296.79658 306.343,275.66948 L 306.343,164.31104 C 306.343,143.17908 323.33351,126.34322 344.46811,126.34322 z " d="m 344.46811,126.34322 111.19211,0 c 21.12816,0 37.9969,16.87873 37.9969,38.00595 l 0,111.32031 c 0,21.13499 -16.86549,37.98752 -37.9969,37.98752 l -111.32032,0 c -21.1315,0 -37.9969,-16.86042 -37.9969,-37.98752 l 0,-111.35844 c 0,-21.13196 16.99051,-37.96782 38.12511,-37.96782 z"
style="opacity:1;fill:none;fill-opacity:0.50196078;fill-rule:nonzero;stroke:#808000;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;marker-start:none;stroke-miterlimit:20;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078;display:inline" /> style="fill:none;stroke:#808000;stroke-width:12.68599987;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:20;stroke-opacity:0.50196078;stroke-dasharray:none;stroke-dashoffset:0;marker-start:none;display:inline"
inkscape:connector-curvature="0" />
</g> </g>
</g> </g>
<g <g
id="g1680" id="g3057"
transform="translate(18.00002,0)"> transform="matrix(0.9222683,0,0,0.9222683,-0.2043768,23.980744)"
<text style="fill:#333333">
sodipodi:linespacing="100%" <g
id="text1576" id="text1576"
y="178.164" style="font-size:3.08242559px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#333333;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans">
x="953.44312" <path
style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" id="path3041"
xml:space="preserve"><tspan style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
style="font-size:144px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;font-family:URW Bookman L" d="m 161.22384,300.21913 c -2.08769,2.87844 -4.14371,5.0768 -6.16807,6.59509 -1.99279,1.5183 -4.033,2.27744 -6.12063,2.27744 -2.05604,0 -3.44781,-0.2056 -4.17531,-0.6168 l 0,-10.43828 c -1.80299,4.80794 -4.31766,8.14502 -7.54402,10.01126 -1.17037,0.69588 -2.30909,1.04382 -3.41617,1.04382 -2.11929,0 -3.63758,-0.2056 -4.55488,-0.6168 -0.22142,-7.24353 -0.42702,-11.86167 -0.61681,-13.85444 -0.18979,-2.02438 -0.36376,-3.65338 -0.52191,-4.88701 -0.31631,-2.46721 -1.0122,-4.20692 -2.08766,-5.21914 1.36014,-1.01217 2.98914,-1.51827 4.88702,-1.51829 3.6692,2e-5 5.75685,2.27746 6.26296,6.83232 0.12651,1.07548 0.18978,2.18257 0.18979,3.32127 -1e-5,1.7081 -0.1898,5.53546 -0.56936,11.4821 0.75913,-0.34793 1.53409,-1.13871 2.32489,-2.37233 0.82239,-1.26524 1.56572,-2.7519 2.22999,-4.45999 1.48665,-3.95388 2.22998,-7.6389 2.23,-11.05508 -2e-5,-0.53771 -0.0791,-1.09126 -0.23724,-1.66064 -0.12654,-0.56934 -0.26888,-0.93309 -0.42702,-1.09127 1.10707,-0.66423 2.49884,-0.99636 4.17531,-0.99638 1.70806,2e-5 2.95749,0.5852 3.74829,1.75552 0.82239,1.13875 1.3443,2.76775 1.56574,4.88701 0.25303,2.68867 0.37955,4.83958 0.37958,6.45276 -3e-5,2.24582 -0.11074,5.02935 -0.33213,8.35062 1.58153,-1.13872 3.02074,-3.57431 4.31765,-7.3068 1.29684,-3.73246 1.94528,-6.9272 1.94532,-9.58423 -4e-5,-1.17033 -0.0949,-2.10345 -0.28468,-2.79936 1.04379,-1.17032 2.46719,-1.7555 4.2702,-1.75552 1.10705,2e-5 2.05598,0.30052 2.8468,0.90148 0.82237,0.60102 1.23358,1.47087 1.23362,2.60957 -4e-5,1.10711 -0.17402,2.26165 -0.52192,3.46361 -0.31635,1.202 -0.74337,2.4198 -1.28106,3.6534 -1.04386,2.46724 -2.29329,4.6656 -3.74829,6.59509"
y="178.164" inkscape:connector-curvature="0" />
x="953.44312" <path
id="tspan1578" id="path3043"
sodipodi:role="line">wxWidgets</tspan></text> style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
<text d="m 174.39623,308.28507 c -1.0122,0.53773 -2.21418,0.80659 -3.60595,0.80659 -1.39177,0 -2.46723,-0.34794 -3.22637,-1.04382 -0.75915,-0.72752 -1.13872,-1.77134 -1.13872,-3.13149 0,-1.39176 0.47446,-2.7519 1.4234,-4.08041 0.98056,-1.36013 2.18254,-2.41977 3.60595,-3.17893 1.45503,-0.75914 2.68864,-1.36013 3.70084,-1.80298 l -2.98914,-6.87977 c -0.53773,-1.17033 -1.3127,-1.75551 -2.32489,-1.75553 l -0.37957,0.0475 -0.14234,0 c 0.18978,-1.10707 0.93311,-2.08763 2.22999,-2.9417 1.29687,-0.88564 2.68864,-1.32848 4.17531,-1.3285 2.40396,2e-5 4.15948,1.202 5.26659,3.60594 l 0.37957,0.75915 2.04021,5.02935 c 0.85402,-0.37955 1.45501,-0.91728 1.80297,-1.61318 0.37956,-0.7275 0.56935,-1.78714 0.56936,-3.17893 -1e-5,-1.42338 -0.37959,-2.57792 -1.13872,-3.46361 1.20197,-0.75913 2.59374,-1.1387 4.17531,-1.13872 2.84678,2e-5 4.27018,1.37597 4.27021,4.12786 -3e-5,3.00497 -1.88208,5.37731 -5.64616,7.11701 l -2.8468,1.3285 2.56212,6.5951 c 0.50608,1.32851 1.21778,2.27744 2.1351,2.8468 0.37955,0.25305 0.79076,0.39539 1.23362,0.42702 -0.94896,1.54993 -2.45144,2.67283 -4.50744,3.36871 -0.63264,0.18979 -1.37597,0.28468 -2.23,0.28468 -0.85405,0 -1.77136,-0.30049 -2.75191,-0.90148 -0.98057,-0.56936 -1.64483,-1.31269 -1.99276,-2.23 l -2.60957,-6.78488 c -1.77135,0.79079 -2.65702,2.62539 -2.65701,5.50382 -1e-5,1.32851 0.20559,2.53049 0.6168,3.60595"
sodipodi:linespacing="100%" inkscape:connector-curvature="0" />
<path
id="path3045"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 195.12674,278.72577 c 0.44284,-0.88564 1.13872,-1.56571 2.08766,-2.04021 0.98056,-0.50606 2.13509,-0.75911 3.46361,-0.75914 2.08764,3e-5 3.74828,0.75917 4.9819,2.27744 1.26523,1.48669 1.89785,3.87484 1.89787,7.16445 l 0,16.93848 10.8653,-25.43144 5.59871,0 1.28106,24.00803 -0.14234,1.37596 11.29231,-25.38399 6.5002,0 -15.18294,31.26738 -10.10615,0 -0.94894,-14.4238 -6.26296,14.4238 -11.43466,0 -1.4234,-22.77442 c -0.0949,-1.70806 -0.37958,-3.11564 -0.85404,-4.22276 -0.44284,-1.13869 -0.98057,-1.94528 -1.61319,-2.41978"
inkscape:connector-curvature="0" />
<path
id="path3047"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 252.31114,305.53316 c -0.98057,2.37234 -3.03659,3.5585 -6.16807,3.5585 -1.61319,0 -2.92588,-0.55354 -3.93807,-1.66063 -0.85405,-0.98056 -1.28107,-1.96113 -1.28107,-2.9417 0,-2.56211 0.58518,-6.34203 1.75553,-11.33976 l 1.75553,-9.20466 9.63168,-0.94893 -2.89425,14.99316 c -0.53774,2.34071 -0.8066,3.92226 -0.80659,4.74467 -10e-6,1.80297 0.64843,2.73609 1.94531,2.79935 m -7.02211,-28.18334 c 0,-1.23359 0.50609,-2.18252 1.5183,-2.84681 1.04382,-0.66422 2.30906,-0.99634 3.79573,-0.99638 1.48665,4e-5 2.67282,0.33216 3.55851,0.99638 0.91728,0.66429 1.37593,1.61322 1.37595,2.84681 -2e-5,1.23364 -0.50611,2.16676 -1.51829,2.79935 -0.98058,0.63265 -2.2142,0.94896 -3.70085,0.94894 -1.48667,2e-5 -2.70447,-0.31629 -3.65339,-0.94894 -0.91731,-0.63259 -1.37596,-1.56571 -1.37596,-2.79935"
inkscape:connector-curvature="0" />
<path
id="path3049"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 271.25277,282.99598 c 1.1387,2e-5 2.15089,0.12654 3.03658,0.37957 0.0316,-0.1265 0.0791,-0.36373 0.14234,-0.7117 l 0.23724,-1.47085 c 0.1265,-0.6326 0.28466,-1.47082 0.47447,-2.51468 l 0.75914,-3.74829 9.4419,-0.94893 -5.26659,27.51909 c -0.0317,0.18979 -0.0475,0.44284 -0.0474,0.75915 l 0,0.75915 c -3e-5,0.69589 0.17394,1.31269 0.52191,1.85042 0.34792,0.5061 0.80657,0.75915 1.37595,0.75915 -0.63264,1.48666 -1.9137,2.5463 -3.84318,3.17892 -0.66427,0.18979 -1.47087,0.28468 -2.41978,0.28468 -0.91732,0 -1.80299,-0.25304 -2.65702,-0.75914 -0.85405,-0.47447 -1.4076,-1.12291 -1.66063,-1.94532 -0.50612,0.82241 -1.26526,1.47085 -2.27744,1.94532 -1.01221,0.5061 -2.26164,0.75914 -3.74829,0.75914 -1.45504,0 -2.79937,-0.18978 -4.03297,-0.56936 -1.20199,-0.37957 -2.18256,-0.98056 -2.9417,-1.80297 -1.39177,-1.61319 -2.08766,-4.25438 -2.08765,-7.9236 -1e-5,-4.74466 1.39176,-8.55621 4.17531,-11.43466 2.78353,-2.91004 6.38947,-4.36507 10.81785,-4.36509 m -0.33213,2.8468 c -1.17037,2e-5 -2.07185,0.63264 -2.70446,1.89787 -0.63264,1.26526 -1.28108,3.46362 -1.94532,6.59509 -0.63263,3.13149 -0.94894,6.10482 -0.94893,8.91998 -1e-5,1.9295 0.56935,2.89425 1.70808,2.89425 1.01218,0 1.86622,-0.5061 2.56212,-1.5183 0.7275,-1.01219 1.2336,-2.35651 1.51829,-4.03297 l 2.56213,-13.90188 c -0.66427,-0.56934 -1.58158,-0.85402 -2.75191,-0.85404"
inkscape:connector-curvature="0" />
<path
id="path3051"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 289.32996,288.31001 c 1.07545,-1.51828 2.41977,-2.78352 4.03297,-3.79574 1.64481,-1.01217 3.4636,-1.51827 5.45637,-1.51829 1.99275,2e-5 3.46359,0.31633 4.41254,0.94893 l 9.29956,-0.94893 -3.22638,18.21953 c -1.10711,6.19971 -2.83101,10.51735 -5.17169,12.95295 -2.24583,2.30907 -5.55128,3.4636 -9.91636,3.46361 -3.32128,-10e-6 -5.93084,-0.52192 -7.82871,-1.56574 -1.89787,-1.04383 -2.8468,-2.4356 -2.8468,-4.17531 0,-1.29688 0.49028,-2.32489 1.47085,-3.08404 0.98056,-0.72751 2.22999,-1.09127 3.74829,-1.09127 1.3285,0 2.49885,0.3005 3.51105,0.90149 0.60099,0.31631 1.04382,0.69588 1.32851,1.13872 -0.72752,0.63262 -1.09128,1.47084 -1.09127,2.51467 -1e-5,1.36014 0.63261,2.04021 1.89787,2.04021 2.11927,0 3.7799,-2.49886 4.9819,-7.49658 0.34793,-1.36013 0.66424,-2.72027 0.94893,-4.08041 -1.42341,1.73971 -3.7483,2.60957 -6.97466,2.60956 -2.24582,1e-5 -4.01716,-0.53772 -5.31403,-1.61318 -1.29688,-1.07546 -1.94532,-2.87843 -1.94532,-5.40893 0,-1.58154 0.26887,-3.25799 0.8066,-5.02935 0.53772,-1.80296 1.34432,-3.46359 2.41978,-4.9819 m 6.16807,10.15359 c -1e-5,2.15093 0.55353,3.22638 1.66064,3.22638 0.75913,0 1.50246,-0.4112 2.22999,-1.23362 0.56935,-0.66424 0.96473,-1.48665 1.18617,-2.46722 l 2.41978,-12.19381 c -0.15817,-0.0316 -0.31633,-0.079 -0.47447,-0.14234 -0.31633,-0.1265 -0.68008,-0.18976 -1.09127,-0.18979 -1.92951,3e-5 -3.46362,1.58158 -4.60233,4.74467 -0.88568,2.46725 -1.32852,5.21916 -1.32851,8.25573"
inkscape:connector-curvature="0" />
<path
id="path3053"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 333.62665,300.12424 c 0.79076,0.53773 1.18615,1.40759 1.18617,2.60957 -2e-5,1.17035 -0.30052,2.1351 -0.90149,2.89425 -0.60101,0.75914 -1.39179,1.39177 -2.37233,1.89786 -2.02441,1.04383 -4.12788,1.56574 -6.31042,1.56574 -2.18255,0 -3.92226,-0.23723 -5.21913,-0.7117 -1.26525,-0.47446 -2.3249,-1.15453 -3.17893,-2.0402 -1.67645,-1.67645 -2.51468,-4.04878 -2.51468,-7.11701 0,-4.77629 1.29688,-8.61947 3.89063,-11.52955 2.78353,-3.13146 6.59508,-4.6972 11.43466,-4.69722 3.00494,2e-5 5.25075,0.63264 6.73743,1.89786 1.10707,0.94896 1.66061,2.19839 1.66064,3.74829 -3e-5,5.5671 -4.80796,8.35064 -14.4238,8.35062 -0.12654,0.82242 -0.1898,1.58157 -0.18979,2.27745 -1e-5,1.45504 0.3163,2.46723 0.94893,3.03659 0.66425,0.53773 1.59736,0.80659 2.79936,0.80659 1.20197,0 2.43558,-0.26886 3.70084,-0.80659 1.29686,-0.56936 2.21416,-1.29687 2.75191,-2.18255 m -9.67913,-5.17169 c 2.2458,1e-5 4.01714,-0.69588 5.31404,-2.08766 1.29685,-1.32849 1.94529,-3.05239 1.94531,-5.17169 -2e-5,-0.7275 -0.14236,-1.28104 -0.42702,-1.66064 -0.25307,-0.41118 -0.64846,-0.61678 -1.18617,-0.6168 -0.53774,2e-5 -1.04384,0.11073 -1.51829,0.33212 -0.44285,0.18981 -0.9015,0.63265 -1.37596,1.32851 -1.17036,1.58158 -2.08766,4.20696 -2.75191,7.87616"
inkscape:connector-curvature="0" />
<path
id="path3055"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 340.37594,303.39806 c 0,-0.85404 0.22141,-2.35651 0.66425,-4.50744 l 2.51468,-12.81061 -2.79936,0 0.18979,-1.4234 c 3.79573,-1.1387 7.5282,-3.09983 11.19742,-5.88339 l 2.27744,0 -1.13872,5.17169 3.70085,0 -0.42703,2.1351 -3.65339,0 -2.41978,12.81061 c -0.41122,1.96114 -0.61682,3.27383 -0.61681,3.93808 -10e-6,1.5183 0.66424,2.4356 1.99276,2.75191 -0.31632,1.07546 -1.04384,1.9295 -2.18255,2.56212 -1.13873,0.63262 -2.51468,0.94893 -4.12786,0.94893 -1.61319,0 -2.87844,-0.50609 -3.79574,-1.51829 -0.9173,-1.01219 -1.37595,-2.40396 -1.37595,-4.17531"
inkscape:connector-curvature="0" />
<path
id="path3057"
style="font-size:47.44670868px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 370.94719,291.48894 c 0.44282,-1.17034 0.66423,-2.26161 0.66425,-3.27383 -2e-5,-1.86621 -0.75916,-2.79933 -2.27744,-2.79935 -0.79079,2e-5 -1.51831,0.36378 -2.18255,1.09127 -0.63263,0.69591 -0.94895,1.48669 -0.94894,2.37234 -1e-5,0.63264 0.25304,1.202 0.75915,1.70808 0.72751,0.6959 2.02438,1.6132 3.89063,2.75191 1.86622,1.13873 3.14728,2.18256 3.84319,3.13148 0.72749,0.91731 1.09125,2.0244 1.09127,3.32127 -2e-5,1.26525 -0.31633,2.48305 -0.94893,3.6534 -0.60101,1.17035 -1.45505,2.16673 -2.56213,2.98914 -2.37235,1.77134 -5.45638,2.65701 -9.25211,2.65701 -2.05602,0 -3.87481,-0.53772 -5.45637,-1.61318 -1.58155,-1.04383 -2.37233,-2.18255 -2.37233,-3.41617 0,-1.23361 0.44283,-2.21417 1.32851,-2.94169 0.9173,-0.72751 2.0402,-1.09127 3.36871,-1.09128 1.3285,1e-5 2.40396,0.25306 3.22638,0.75915 -0.41121,1.04383 -0.61682,1.91369 -0.61681,2.60957 -10e-6,2.08766 0.88567,3.13148 2.65702,3.13148 0.75913,0 1.39176,-0.23723 1.89787,-0.7117 0.50608,-0.47446 0.75913,-1.1229 0.75914,-1.94531 -10e-6,-1.61319 -1.36015,-3.27382 -4.08041,-4.98191 -2.21419,-1.45502 -3.57433,-2.46721 -4.08042,-3.03659 -0.85405,-1.01218 -1.28107,-2.1509 -1.28106,-3.41616 -10e-6,-1.26523 0.30049,-2.49884 0.90148,-3.70084 0.60099,-1.20197 1.45503,-2.22998 2.56213,-3.08404 2.30906,-1.77132 5.47217,-2.65699 9.48934,-2.65701 2.05601,2e-5 3.68501,0.41122 4.88701,1.23361 1.23359,0.82243 1.8504,1.92952 1.85042,3.32127 -2e-5,1.39179 -0.42704,2.48306 -1.28106,3.27382 -0.82243,0.7908 -1.99278,1.18619 -3.51106,1.18617 -1.04384,2e-5 -1.8188,-0.17396 -2.32488,-0.52191"
inkscape:connector-curvature="0" />
</g>
<g
id="text1580" id="text1580"
y="264.95999" style="font-size:3.08242559px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#333333;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans">
x="955.58154" <path
style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" id="path3060"
xml:space="preserve"><tspan style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
style="font-size:60px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;font-family:URW Bookman L" d="m 138.18608,333.82749 c 0.41119,0.3005 0.61679,0.77496 0.61681,1.4234 -2e-5,0.63262 -0.14236,1.17826 -0.42702,1.63691 -0.26888,0.44284 -0.67218,0.83822 -1.20989,1.18617 -1.15455,0.74333 -2.74401,1.11499 -4.7684,1.11499 -2.00858,0 -3.56641,-0.52191 -4.6735,-1.56574 -1.09127,-1.05964 -1.63691,-2.52258 -1.63691,-4.38882 0,-2.64119 0.68798,-4.96608 2.06393,-6.97466 1.04383,-1.48665 2.49886,-2.5463 4.3651,-3.17893 0.96474,-0.3163 1.92158,-0.47445 2.87052,-0.47447 0.94893,2e-5 1.71598,0.0633 2.30117,0.18979 0.58516,0.12654 1.09917,0.31632 1.54202,0.56936 0.96473,0.55356 1.44711,1.27316 1.44712,2.15882 -1e-5,0.80661 -0.37959,1.5104 -1.13872,2.11138 -0.6959,0.53774 -1.32852,0.8066 -1.89787,0.80659 -0.56937,1e-5 -0.97267,-0.0395 -1.20989,-0.11861 0.0632,-0.56935 0.0949,-1.03591 0.0949,-1.39968 -2e-5,-0.37956 -0.008,-0.70378 -0.0237,-0.97266 -0.0158,-0.26885 -0.0633,-0.52981 -0.14234,-0.78287 -0.15816,-0.58516 -0.48238,-0.87775 -0.97266,-0.87776 -0.47447,10e-6 -0.95685,0.22934 -1.44712,0.68797 -0.47447,0.44285 -0.91731,1.04385 -1.32851,1.80298 -0.93312,1.72391 -1.39968,3.60596 -1.39968,5.64616 0,0.98057 0.27677,1.75553 0.83032,2.32489 0.55354,0.55355 1.4234,0.83032 2.60957,0.83031 0.88566,10e-6 1.74761,-0.29258 2.58585,-0.87776 0.36374,-0.25304 0.68005,-0.54563 0.94893,-0.87776"
y="264.95999" inkscape:connector-curvature="0" />
x="955.58154" <path
id="tspan1582" id="path3062"
sodipodi:role="line">Cross-Platform GUI Toolkit</tspan></text> style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 148.194,332.07196 c 0.56935,-1.01219 0.85403,-2.03229 0.85404,-3.06032 -10e-6,-0.68005 -0.24515,-1.02009 -0.73542,-1.0201 -0.37958,1e-5 -0.76707,0.32423 -1.16245,0.97266 -0.41121,0.64845 -0.68007,1.39178 -0.80659,2.22999 l -1.23362,7.54403 -4.91073,0.47447 2.41978,-12.57338 3.91436,-0.47447 -0.42702,2.39606 c 0.77495,-1.59736 2.03229,-2.39605 3.77201,-2.39606 0.91729,10e-6 1.62108,0.23725 2.11138,0.7117 0.50608,0.47448 0.75913,1.202 0.75914,2.18255 -1e-5,0.96476 -0.32423,1.75554 -0.97265,2.37234 -0.63264,0.61681 -1.49458,0.92521 -2.58585,0.92521 -0.47447,0 -0.8066,-0.0949 -0.99638,-0.28468"
inkscape:connector-curvature="0" />
<path
id="path3064"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 158.31164,339.21269 c -3.47943,0 -5.21914,-1.63691 -5.21914,-4.91074 0,-2.32488 0.64053,-4.23856 1.92159,-5.74105 1.36014,-1.59736 3.21847,-2.39605 5.57499,-2.39606 1.70807,10e-6 2.99704,0.3954 3.86691,1.18617 0.86984,0.79079 1.30477,2.01649 1.30478,3.67712 -1e-5,2.5305 -0.68008,4.53116 -2.0402,6.00201 -1.32852,1.45503 -3.1315,2.18255 -5.40893,2.18255 m 0.61681,-10.31966 c -0.18979,0.42703 -0.36377,0.96476 -0.52192,1.61319 -0.14234,0.63263 -0.3084,1.45504 -0.49819,2.46723 -0.18979,1.0122 -0.28468,2.14301 -0.28468,3.39243 0,0.41121 0.0633,0.75125 0.18979,1.02011 0.14234,0.26886 0.39538,0.4033 0.75915,0.4033 0.36375,0 0.65634,-0.087 0.87776,-0.26096 0.23723,-0.17397 0.44283,-0.46656 0.61681,-0.87776 0.3163,-0.72752 0.60098,-1.76344 0.85404,-3.10776 0.25304,-1.36014 0.38747,-2.33279 0.4033,-2.91798 0.0316,-0.58516 0.0474,-1.09126 0.0474,-1.51829 -1e-5,-0.44283 -0.0633,-0.80659 -0.18978,-1.09128 -0.12654,-0.28467 -0.37168,-0.42701 -0.73543,-0.42702 -0.34795,1e-5 -0.64054,0.11072 -0.87776,0.33213 -0.23724,0.22143 -0.45075,0.54565 -0.64053,0.97266"
inkscape:connector-curvature="0" />
<path
id="path3066"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 174.27264,330.41132 c 0.22141,-0.58516 0.33212,-1.1308 0.33213,-1.63691 -1e-5,-0.93311 -0.37959,-1.39967 -1.13873,-1.39968 -0.39539,10e-6 -0.75915,0.18189 -1.09127,0.54564 -0.31632,0.34795 -0.47447,0.74334 -0.47447,1.18617 0,0.31632 0.12652,0.601 0.37958,0.85404 0.36375,0.34795 1.01219,0.8066 1.94531,1.37595 0.93311,0.56937 1.57364,1.09128 1.92159,1.56575 0.36375,0.45865 0.54563,1.0122 0.54564,1.66063 -1e-5,0.63263 -0.15817,1.24152 -0.47447,1.8267 -0.3005,0.58518 -0.72752,1.08337 -1.28106,1.49457 -1.18617,0.88567 -2.72819,1.32851 -4.62605,1.32851 -1.02802,0 -1.93741,-0.26887 -2.72819,-0.8066 -0.79078,-0.52191 -1.18617,-1.09127 -1.18617,-1.70808 0,-0.6168 0.22142,-1.10708 0.66426,-1.47085 0.45865,-0.36375 1.0201,-0.54563 1.68436,-0.54563 0.66425,0 1.20198,0.12653 1.61318,0.37957 -0.2056,0.52192 -0.3084,0.95684 -0.3084,1.30478 0,1.04383 0.44283,1.56575 1.32851,1.56575 0.37957,0 0.69588,-0.11862 0.94893,-0.35585 0.25305,-0.23724 0.37957,-0.56146 0.37958,-0.97266 -1e-5,-0.80659 -0.68008,-1.63691 -2.04021,-2.49095 -1.10709,-0.72751 -1.78716,-1.23361 -2.04021,-1.5183 -0.42702,-0.50609 -0.64053,-1.07545 -0.64053,-1.70808 0,-0.63261 0.15025,-1.24942 0.45074,-1.85042 0.3005,-0.60098 0.72752,-1.11499 1.28106,-1.54202 1.15454,-0.88566 2.73609,-1.3285 4.74468,-1.32851 1.028,10e-6 1.8425,0.20562 2.4435,0.61681 0.6168,0.41122 0.9252,0.96476 0.92521,1.66063 -1e-5,0.6959 -0.21352,1.24154 -0.64053,1.63692 -0.41121,0.39539 -0.99639,0.59309 -1.75553,0.59308 -0.52192,10e-6 -0.9094,-0.087 -1.16244,-0.26096"
inkscape:connector-curvature="0" />
<path
id="path3068"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 185.80997,330.41132 c 0.22141,-0.58516 0.33212,-1.1308 0.33213,-1.63691 -1e-5,-0.93311 -0.37958,-1.39967 -1.13872,-1.39968 -0.3954,10e-6 -0.75915,0.18189 -1.09128,0.54564 -0.31631,0.34795 -0.47447,0.74334 -0.47446,1.18617 -10e-6,0.31632 0.12652,0.601 0.37957,0.85404 0.36375,0.34795 1.01219,0.8066 1.94532,1.37595 0.93311,0.56937 1.57364,1.09128 1.92159,1.56575 0.36375,0.45865 0.54562,1.0122 0.54563,1.66063 -1e-5,0.63263 -0.15816,1.24152 -0.47446,1.8267 -0.30051,0.58518 -0.72753,1.08337 -1.28106,1.49457 -1.18618,0.88567 -2.72819,1.32851 -4.62606,1.32851 -1.02801,0 -1.93741,-0.26887 -2.72818,-0.8066 -0.79078,-0.52191 -1.18617,-1.09127 -1.18617,-1.70808 0,-0.6168 0.22142,-1.10708 0.66425,-1.47085 0.45865,-0.36375 1.02011,-0.54563 1.68436,-0.54563 0.66425,0 1.20198,0.12653 1.61319,0.37957 -0.20561,0.52192 -0.30841,0.95684 -0.3084,1.30478 -1e-5,1.04383 0.44283,1.56575 1.3285,1.56575 0.37957,0 0.69588,-0.11862 0.94894,-0.35585 0.25304,-0.23724 0.37957,-0.56146 0.37957,-0.97266 0,-0.80659 -0.68007,-1.63691 -2.04021,-2.49095 -1.10709,-0.72751 -1.78716,-1.23361 -2.04021,-1.5183 -0.42702,-0.50609 -0.64053,-1.07545 -0.64053,-1.70808 0,-0.63261 0.15025,-1.24942 0.45075,-1.85042 0.30049,-0.60098 0.72751,-1.11499 1.28106,-1.54202 1.15453,-0.88566 2.73609,-1.3285 4.74467,-1.32851 1.028,10e-6 1.8425,0.20562 2.4435,0.61681 0.6168,0.41122 0.9252,0.96476 0.92522,1.66063 -2e-5,0.6959 -0.21353,1.24154 -0.64053,1.63692 -0.41122,0.39539 -0.9964,0.59309 -1.75553,0.59308 -0.52192,10e-6 -0.90941,-0.087 -1.16245,-0.26096"
inkscape:connector-curvature="0" />
<path
id="path3070"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 191.13179,334.89504 c -0.5061,-0.36376 -0.75915,-0.89358 -0.75915,-1.58947 0,-0.37957 0.0949,-0.7196 0.28468,-1.0201 0.18979,-0.31631 0.47447,-0.49819 0.85405,-0.54564 l 4.6735,0 c 0.5219,1e-5 0.86194,-0.15815 1.0201,-0.47447 0.25304,0.14235 0.43492,0.36377 0.54564,0.66426 0.1107,0.3005 0.16605,0.6089 0.16606,0.92521 -1e-5,0.31632 -0.12653,0.63263 -0.37957,0.94893 -0.23724,0.3005 -0.53774,0.46657 -0.90149,0.49819 l -4.34137,0 c -0.33213,1e-5 -0.57727,0.0554 -0.73543,0.16607 -0.15815,0.0949 -0.30049,0.23723 -0.42702,0.42702"
inkscape:connector-curvature="0" />
<path
id="path3072"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 208.84312,322.91474 c 3.8748,2e-5 5.81221,1.36806 5.81222,4.10414 -1e-5,1.50249 -0.48239,2.70447 -1.44712,3.60595 -0.94895,0.9015 -2.25373,1.35224 -3.91435,1.35223 -0.77498,1e-5 -1.46295,-0.22141 -2.06394,-0.66425 -0.28468,-0.18978 -0.52192,-0.4112 -0.7117,-0.66425 1.15453,0 2.03229,-0.34794 2.6333,-1.04383 0.61679,-0.71169 0.9252,-1.75552 0.92521,-3.13148 -1e-5,-1.37594 -0.68008,-2.06392 -2.04021,-2.06394 l -0.56936,0 c -0.0949,2e-5 -0.18189,0.008 -0.26096,0.0237 l -2.72818,14.30518 -5.14797,0 2.91797,-15.5388 c 1.69226,-0.15814 3.02868,-0.24512 4.00925,-0.26095 0.98055,-0.0158 1.8425,-0.0237 2.58584,-0.0237"
inkscape:connector-curvature="0" />
<path
id="path3074"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 220.43495,337.43344 c -0.49029,1.18616 -1.5183,1.77925 -3.08404,1.77925 -0.79078,0 -1.43922,-0.27678 -1.94531,-0.83032 -0.41121,-0.45865 -0.61681,-0.94893 -0.61681,-1.47085 0,-1.18616 0.27677,-3.07612 0.83032,-5.66988 l 1.7318,-9.10977 4.81584,-0.47446 -2.30116,12.00401 c -0.26887,1.17036 -0.4033,1.96114 -0.4033,2.37234 0,0.90149 0.32422,1.36805 0.97266,1.39968"
inkscape:connector-curvature="0" />
<path
id="path3076"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 223.47673,338.02652 c -0.36376,-0.4112 -0.63262,-0.94103 -0.80659,-1.58947 -0.15816,-0.64843 -0.23724,-1.50247 -0.23724,-2.56212 0,-1.05963 0.18188,-2.07183 0.54564,-3.03659 0.36376,-0.96474 0.87776,-1.79505 1.54202,-2.49095 1.36013,-1.45502 3.16311,-2.18254 5.40892,-2.18255 0.80659,10e-6 1.50247,0.13445 2.08766,0.4033 l 4.05669,-0.4033 -1.75553,9.25211 c -0.0475,0.18979 -0.0712,0.45865 -0.0712,0.80659 -1e-5,0.34795 0.10279,0.63263 0.30841,0.85405 0.2214,0.22141 0.49027,0.34794 0.80659,0.37957 -0.15817,0.53773 -0.52983,0.96475 -1.115,1.28106 -0.56937,0.31631 -1.17827,0.47447 -1.82669,0.47447 -0.64845,0 -1.19409,-0.12653 -1.63692,-0.37958 -0.42702,-0.23723 -0.7038,-0.56145 -0.83031,-0.97265 -0.25306,0.39539 -0.64845,0.7196 -1.18617,0.97265 -0.53774,0.25305 -1.17036,0.37958 -1.89787,0.37958 -0.7117,0 -1.36014,-0.0949 -1.94531,-0.28468 -0.58518,-0.18979 -1.06756,-0.49029 -1.44713,-0.90149 m 5.00563,-9.63168 c -0.17398,0.28469 -0.34004,0.67217 -0.49819,1.16244 -0.15816,0.47448 -0.37167,1.36015 -0.64053,2.65702 -0.25306,1.28106 -0.37958,2.38025 -0.37958,3.29754 0,0.91731 0.0712,1.51039 0.21351,1.77926 0.14234,0.26886 0.34003,0.40329 0.59309,0.40329 0.50609,0 0.94102,-0.23723 1.30478,-0.7117 0.37957,-0.49028 0.64053,-1.16244 0.78287,-2.01648 l 1.25734,-6.95095 c -0.33213,-0.28467 -0.69589,-0.42701 -1.09127,-0.42702 -0.37958,1e-5 -0.68799,0.0633 -0.92521,0.18979 -0.22143,0.12654 -0.42703,0.33214 -0.61681,0.61681"
inkscape:connector-curvature="0" />
<path
id="path3078"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 237.75596,336.36588 c 0,-0.42701 0.11071,-1.17825 0.33213,-2.25371 l 1.25734,-6.40531 -1.39968,0 0.0949,-0.7117 c 1.89787,-0.56935 3.7641,-1.54991 5.59871,-2.9417 l 1.13872,0 -0.56936,2.58585 1.85043,0 -0.21351,1.06755 -1.8267,0 -1.20989,6.40531 c -0.20561,0.98057 -0.30841,1.63691 -0.30841,1.96903 0,0.75915 0.33212,1.2178 0.99638,1.37596 -0.15816,0.53773 -0.52192,0.96475 -1.09127,1.28106 -0.56937,0.31631 -1.25734,0.47447 -2.06393,0.47447 -0.8066,0 -1.43922,-0.25305 -1.89787,-0.75915 -0.45865,-0.5061 -0.68798,-1.20198 -0.68798,-2.08766"
inkscape:connector-curvature="0" />
<path
id="path3080"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 255.20041,324.97867 c 0.22141,-0.37955 0.33212,-0.77494 0.33213,-1.18616 -1e-5,-0.7275 -0.22143,-1.09126 -0.66426,-1.09128 -0.68007,2e-5 -1.16245,0.6959 -1.44712,2.08766 l -0.35585,1.85042 2.15882,0 -0.14234,1.06755 -2.22999,0 -2.1351,11.03136 -4.79212,0.47447 2.27744,-11.50583 -1.68436,0 0.21351,-1.06755 1.66064,0 0.49819,-1.87415 c 0.28468,-1.15452 1.03591,-2.00065 2.25372,-2.53839 0.88566,-0.37956 2.07183,-0.56935 3.5585,-0.56936 1.48665,10e-6 2.56211,0.1898 3.22638,0.56936 0.66424,0.37959 0.99636,0.82242 0.99638,1.3285 -2e-5,0.50612 -0.19771,0.91732 -0.59309,1.23362 -0.3954,0.31632 -0.81451,0.47448 -1.25733,0.47446 -0.86987,2e-5 -1.49459,-0.0949 -1.87415,-0.28468"
inkscape:connector-curvature="0" />
<path
id="path3082"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 260.01625,339.21269 c -3.47943,0 -5.21914,-1.63691 -5.21914,-4.91074 0,-2.32488 0.64053,-4.23856 1.92159,-5.74105 1.36014,-1.59736 3.21847,-2.39605 5.57499,-2.39606 1.70807,10e-6 2.99704,0.3954 3.86691,1.18617 0.86984,0.79079 1.30477,2.01649 1.30478,3.67712 -10e-6,2.5305 -0.68008,4.53116 -2.04021,6.00201 -1.32851,1.45503 -3.13149,2.18255 -5.40892,2.18255 m 0.61681,-10.31966 c -0.1898,0.42703 -0.36377,0.96476 -0.52192,1.61319 -0.14234,0.63263 -0.30841,1.45504 -0.49819,2.46723 -0.18979,1.0122 -0.28468,2.14301 -0.28468,3.39243 0,0.41121 0.0633,0.75125 0.18979,1.02011 0.14233,0.26886 0.39538,0.4033 0.75915,0.4033 0.36375,0 0.65634,-0.087 0.87776,-0.26096 0.23723,-0.17397 0.44283,-0.46656 0.61681,-0.87776 0.3163,-0.72752 0.60098,-1.76344 0.85404,-3.10776 0.25304,-1.36014 0.38747,-2.33279 0.4033,-2.91798 0.0316,-0.58516 0.0474,-1.09126 0.0474,-1.51829 -1e-5,-0.44283 -0.0633,-0.80659 -0.18978,-1.09128 -0.12654,-0.28467 -0.37168,-0.42701 -0.73543,-0.42702 -0.34795,1e-5 -0.64054,0.11072 -0.87776,0.33213 -0.23724,0.22143 -0.45075,0.54565 -0.64053,0.97266"
inkscape:connector-curvature="0" />
<path
id="path3084"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 276.30938,332.07196 c 0.56935,-1.01219 0.85403,-2.03229 0.85404,-3.06032 -10e-6,-0.68005 -0.24515,-1.02009 -0.73542,-1.0201 -0.37958,1e-5 -0.76706,0.32423 -1.16245,0.97266 -0.41121,0.64845 -0.68007,1.39178 -0.80659,2.22999 l -1.23361,7.54403 -4.91074,0.47447 2.41978,-12.57338 3.91436,-0.47447 -0.42702,2.39606 c 0.77495,-1.59736 2.03229,-2.39605 3.77201,-2.39606 0.91729,10e-6 1.62108,0.23725 2.11138,0.7117 0.50608,0.47448 0.75913,1.202 0.75915,2.18255 -2e-5,0.96476 -0.32424,1.75554 -0.97266,2.37234 -0.63264,0.61681 -1.49458,0.92521 -2.58585,0.92521 -0.47447,0 -0.8066,-0.0949 -0.99638,-0.28468"
inkscape:connector-curvature="0" />
<path
id="path3086"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 298.33614,339.21269 c -1.9137,0 -2.87054,-0.74333 -2.87053,-2.23 -1e-5,-0.64843 0.13442,-1.59737 0.4033,-2.8468 0.28467,-1.26524 0.47445,-2.15091 0.56936,-2.65702 0.2214,-1.15452 0.33211,-1.91367 0.33213,-2.27744 -2e-5,-0.80658 -0.30051,-1.20988 -0.90149,-1.20989 -0.3954,1e-5 -0.78288,0.27678 -1.16244,0.83032 -0.37959,0.53774 -0.65636,1.35224 -0.83032,2.4435 l -1.47085,7.47286 -4.62605,0.47447 1.28106,-6.45276 c 0.14233,-0.71169 0.27676,-1.47084 0.4033,-2.27744 0.12651,-0.80658 0.18977,-1.27314 0.18978,-1.39968 -10e-6,-0.7275 -0.26887,-1.09126 -0.80659,-1.09127 -0.36377,1e-5 -0.74334,0.26888 -1.13872,0.80659 -0.3954,0.53774 -0.7038,1.36015 -0.92521,2.46723 l -1.44713,7.47286 -4.6735,0.47447 2.49095,-12.57338 3.86691,-0.47447 -0.4033,2.39606 c 0.4112,-0.85403 0.99638,-1.46293 1.75553,-1.8267 0.75914,-0.37956 1.7318,-0.56935 2.91797,-0.56936 0.68006,10e-6 1.24151,0.16608 1.68436,0.49819 0.44283,0.33214 0.73541,0.76707 0.87777,1.30479 0.26885,-0.55354 0.74331,-0.98846 1.4234,-1.30479 0.69587,-0.33211 1.46292,-0.49818 2.30116,-0.49819 0.85403,10e-6 1.48665,0.0949 1.89787,0.28468 0.427,0.17399 0.76704,0.41122 1.02011,0.7117 0.427,0.55356 0.64051,1.33643 0.64053,2.34862 -2e-5,0.99638 -0.21353,2.53049 -0.64053,4.60233 -0.22144,1.0122 -0.33215,1.70808 -0.33213,2.08765 -2e-5,0.36376 0.10278,0.65635 0.3084,0.87777 0.2214,0.22141 0.49026,0.34794 0.8066,0.37957 -0.15818,0.53773 -0.51403,0.96475 -1.06755,1.28106 -0.53775,0.31631 -1.16247,0.47447 -1.87415,0.47447"
inkscape:connector-curvature="0" />
<path
id="path3088"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 322.39051,330.67228 c -1.13874,2.49887 -1.7081,5.19542 -1.70808,8.08966 -0.42704,0.3005 -0.95686,0.45075 -1.58947,0.45075 -0.61682,0 -1.12291,-0.15025 -1.51829,-0.45075 -0.3954,-0.28468 -0.63263,-0.57726 -0.7117,-0.87776 -0.3954,0.4112 -0.91731,0.73542 -1.56574,0.97266 -0.63263,0.23723 -1.28898,0.35585 -1.96904,0.35585 -0.68008,0 -1.32061,-0.11071 -1.92159,-0.33213 -0.58518,-0.22142 -1.1071,-0.57727 -1.56575,-1.06755 -1.01219,-1.07546 -1.51829,-2.63329 -1.51829,-4.6735 0,-3.16311 0.84613,-5.6936 2.5384,-7.59147 1.73971,-1.96112 4.15158,-2.94168 7.23562,-2.9417 2.13509,2e-5 3.58221,0.55356 4.34138,1.66063 0.23721,0.34796 0.35583,0.73544 0.35585,1.16245 -2e-5,0.41122 -0.0949,0.7987 -0.28468,1.16244 -0.17399,0.34796 -0.40332,0.66427 -0.68798,0.94894 -0.68009,0.63263 -1.43923,0.94894 -2.27744,0.94893 -0.33214,10e-6 -0.65636,-0.0553 -0.97266,-0.16606 0.0632,-0.47446 0.0949,-0.98846 0.0949,-1.54202 -1e-5,-0.55353 -0.0237,-0.95683 -0.0712,-1.20989 -0.0316,-0.25304 -0.0949,-0.48236 -0.18979,-0.68798 -0.20561,-0.427 -0.53773,-0.64051 -0.99638,-0.64053 -0.44284,2e-5 -0.91731,0.24516 -1.4234,0.73542 -0.49029,0.47449 -0.93312,1.10711 -1.32851,1.89787 -0.86986,1.77136 -1.30479,3.72458 -1.30478,5.85967 -1e-5,0.98057 0.18978,1.8188 0.56936,2.51468 0.4112,0.75915 0.98056,1.13872 1.70808,1.13872 0.25304,0 0.49028,-0.0633 0.7117,-0.18979 0.23723,-0.12652 0.40329,-0.23723 0.49819,-0.33213 l 0.75915,-4.76839 4.79212,-0.42702"
inkscape:connector-curvature="0" />
<path
id="path3090"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 324.00963,335.22716 c 0,-0.6168 0.0791,-1.32059 0.23723,-2.11137 l 1.92159,-10.03498 5.24286,0 -1.89786,10.10615 c -0.14235,0.74333 -0.21352,1.39177 -0.21351,1.94531 -10e-6,0.53773 0.1107,0.94894 0.33212,1.23361 0.23723,0.28469 0.56936,0.42703 0.99638,0.42703 0.42702,0 0.77496,-0.0554 1.04383,-0.16607 0.26886,-0.11071 0.514,-0.30049 0.73542,-0.56936 0.42702,-0.53772 0.77496,-1.49457 1.04383,-2.87052 l 1.92159,-10.10615 3.58223,0 -1.89787,10.08242 c -0.44285,2.24582 -1.27316,3.81946 -2.49095,4.72095 -1.18618,0.88567 -2.94961,1.32851 -5.29031,1.32851 -1.75553,0 -3.09985,-0.37958 -4.03297,-1.13872 -0.82241,-0.66426 -1.23361,-1.61319 -1.23361,-2.84681"
inkscape:connector-curvature="0" />
<path
id="path3092"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 339.19072,338.73822 3.01286,-15.65741 5.21914,0 -3.06031,15.65741 -5.17169,0"
inkscape:connector-curvature="0" />
<path
id="path3094"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 362.71243,335.08482 c 0.30048,0.37958 0.45073,0.94103 0.45074,1.68436 -10e-6,0.72752 -0.28469,1.3206 -0.85404,1.77925 -0.55355,0.44284 -1.32061,0.66426 -2.30116,0.66426 -0.56937,0 -1.29689,-0.0633 -2.18255,-0.18979 -1.73972,-0.26886 -2.86262,-0.4033 -3.36872,-0.4033 -0.49028,0 -0.83823,0.0158 -1.04383,0.0475 -0.2056,0.0158 -0.47446,0.0395 -0.80659,0.0712 l 2.87052,-15.65741 5.19542,0 -2.37234,13.04784 c 0.2056,0.0316 0.40329,0.0475 0.59309,0.0475 l 0.59308,0 c 1.3285,0 2.40396,-0.36376 3.22638,-1.09128"
inkscape:connector-curvature="0" />
<path
id="path3096"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 370.44402,337.43344 c -0.49029,1.18616 -1.5183,1.77925 -3.08404,1.77925 -0.8066,0 -1.46294,-0.27678 -1.96904,-0.83032 -0.42702,-0.49028 -0.64053,-0.98056 -0.64053,-1.47085 0,-1.28106 0.29259,-3.17101 0.87777,-5.66988 l 0.87776,-4.60233 4.81584,-0.47447 -1.44712,7.49658 c -0.26887,1.17036 -0.40331,1.96114 -0.4033,2.37234 -1e-5,0.90149 0.32421,1.36805 0.97266,1.39968 m -3.51106,-14.09168 c 0,-0.61679 0.25305,-1.09125 0.75915,-1.4234 0.52191,-0.33211 1.15453,-0.49817 1.89787,-0.49819 0.74332,2e-5 1.3364,0.16608 1.77925,0.49819 0.45864,0.33215 0.68797,0.80661 0.68797,1.4234 0,0.61683 -0.25305,1.08338 -0.75914,1.39968 -0.49029,0.31633 -1.1071,0.47448 -1.85042,0.47447 -0.74334,10e-6 -1.35224,-0.15814 -1.8267,-0.47447 -0.45866,-0.3163 -0.68798,-0.78285 -0.68798,-1.39968"
inkscape:connector-curvature="0" />
<path
id="path3098"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 372.13357,337.5995 2.94169,-15.46763 4.81584,-0.47446 -0.73542,3.62967 c -0.17398,0.74334 -0.37167,1.37596 -0.59308,1.89787 0.34793,-0.44283 0.90148,-0.75123 1.66063,-0.92521 0.22141,-0.0633 0.46655,-0.0949 0.73542,-0.0949 1.47084,10e-6 2.60956,0.45076 3.41617,1.35223 0.80658,0.88569 1.20988,2.19047 1.20989,3.91436 -10e-6,2.24581 -0.64054,4.07251 -1.92159,5.48009 -1.37597,1.53411 -3.31337,2.30117 -5.81222,2.30117 -1.72391,0 -3.23429,-0.28468 -4.53117,-0.85404 -0.45865,-0.20561 -0.85404,-0.45865 -1.18616,-0.75915 m 4.76839,-0.21351 c 0.33212,0.28468 0.70379,0.42702 1.115,0.42702 0.4112,0 0.73542,-0.0791 0.97266,-0.23723 0.23722,-0.15816 0.44282,-0.39539 0.6168,-0.7117 0.47446,-0.85404 0.90148,-2.58585 1.28106,-5.19542 0.1107,-0.74332 0.16606,-1.48665 0.16607,-2.22999 -10e-6,-0.74333 -0.087,-1.23361 -0.26096,-1.47085 -0.15816,-0.23723 -0.3954,-0.35584 -0.7117,-0.35585 -0.96476,1e-5 -1.60529,0.94103 -1.92159,2.82308 l -1.25734,6.95094"
inkscape:connector-curvature="0" />
<path
id="path3100"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 394.41647,332.07196 c 0.56935,-1.01219 0.85403,-2.03229 0.85404,-3.06032 -10e-6,-0.68005 -0.24515,-1.02009 -0.73543,-1.0201 -0.37958,1e-5 -0.76706,0.32423 -1.16244,0.97266 -0.41121,0.64845 -0.68008,1.39178 -0.80659,2.22999 l -1.23362,7.54403 -4.91073,0.47447 2.41978,-12.57338 3.91435,-0.47447 -0.42702,2.39606 c 0.77496,-1.59736 2.0323,-2.39605 3.77202,-2.39606 0.91729,10e-6 1.62108,0.23725 2.11137,0.7117 0.50609,0.47448 0.75914,1.202 0.75915,2.18255 -10e-6,0.96476 -0.32423,1.75554 -0.97266,2.37234 -0.63263,0.61681 -1.49458,0.92521 -2.58584,0.92521 -0.47448,0 -0.8066,-0.0949 -0.99638,-0.28468"
inkscape:connector-curvature="0" />
<path
id="path3102"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 400.38253,338.02652 c -0.36376,-0.4112 -0.63262,-0.94103 -0.80659,-1.58947 -0.15816,-0.64843 -0.23724,-1.50247 -0.23724,-2.56212 0,-1.05963 0.18188,-2.07183 0.54564,-3.03659 0.36376,-0.96474 0.87776,-1.79505 1.54202,-2.49095 1.36013,-1.45502 3.16311,-2.18254 5.40892,-2.18255 0.80659,10e-6 1.50247,0.13445 2.08766,0.4033 l 4.05669,-0.4033 -1.75553,9.25211 c -0.0475,0.18979 -0.0712,0.45865 -0.0712,0.80659 -10e-6,0.34795 0.10279,0.63263 0.30841,0.85405 0.2214,0.22141 0.49027,0.34794 0.80659,0.37957 -0.15817,0.53773 -0.52983,0.96475 -1.115,1.28106 -0.56937,0.31631 -1.17827,0.47447 -1.82669,0.47447 -0.64845,0 -1.19409,-0.12653 -1.63692,-0.37958 -0.42702,-0.23723 -0.7038,-0.56145 -0.83031,-0.97265 -0.25306,0.39539 -0.64845,0.7196 -1.18617,0.97265 -0.53774,0.25305 -1.17036,0.37958 -1.89787,0.37958 -0.7117,0 -1.36014,-0.0949 -1.94531,-0.28468 -0.58518,-0.18979 -1.06756,-0.49029 -1.44713,-0.90149 m 5.00563,-9.63168 c -0.17398,0.28469 -0.34004,0.67217 -0.49819,1.16244 -0.15816,0.47448 -0.37167,1.36015 -0.64053,2.65702 -0.25306,1.28106 -0.37958,2.38025 -0.37958,3.29754 0,0.91731 0.0712,1.51039 0.21351,1.77926 0.14234,0.26886 0.34003,0.40329 0.59309,0.40329 0.50609,0 0.94102,-0.23723 1.30478,-0.7117 0.37957,-0.49028 0.64053,-1.16244 0.78287,-2.01648 l 1.25734,-6.95095 c -0.33213,-0.28467 -0.69589,-0.42701 -1.09127,-0.42702 -0.37958,1e-5 -0.68799,0.0633 -0.92521,0.18979 -0.22143,0.12654 -0.42703,0.33214 -0.61681,0.61681"
inkscape:connector-curvature="0" />
<path
id="path3104"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 421.70761,332.07196 c 0.56935,-1.01219 0.85403,-2.03229 0.85404,-3.06032 -10e-6,-0.68005 -0.24515,-1.02009 -0.73543,-1.0201 -0.37958,1e-5 -0.76706,0.32423 -1.16244,0.97266 -0.41121,0.64845 -0.68008,1.39178 -0.8066,2.22999 l -1.23361,7.54403 -4.91073,0.47447 2.41978,-12.57338 3.91435,-0.47447 -0.42702,2.39606 c 0.77496,-1.59736 2.03229,-2.39605 3.77201,-2.39606 0.9173,10e-6 1.62109,0.23725 2.11138,0.7117 0.50609,0.47448 0.75914,1.202 0.75915,2.18255 -1e-5,0.96476 -0.32423,1.75554 -0.97266,2.37234 -0.63263,0.61681 -1.49458,0.92521 -2.58584,0.92521 -0.47448,0 -0.80661,-0.0949 -0.99638,-0.28468"
inkscape:connector-curvature="0" />
<path
id="path3106"
style="font-size:23.72335434px;line-height:100%;fill:#333333;font-family:Sansita One;-inkscape-font-specification:Sansita One"
d="m 434.19756,336.05748 c -0.82242,0.85404 -1.98486,1.28106 -3.48733,1.28106 -1.88206,0 -3.02078,-0.68797 -3.41617,-2.06393 -0.12652,-0.4112 -0.18978,-0.84613 -0.18978,-1.30478 0,-0.45865 0.0474,-0.92521 0.14234,-1.39968 l 1.115,-5.93084 4.81584,-0.47447 -1.30479,6.9035 c -0.0316,0.20561 -0.0712,0.41912 -0.11862,0.64053 -0.0475,0.22142 -0.0712,0.45075 -0.0712,0.68798 0,0.22142 0.0395,0.41121 0.11862,0.56936 0.0791,0.14234 0.17397,0.26096 0.28468,0.35585 0.18978,0.12653 0.45074,0.18979 0.78287,0.18978 0.34794,10e-6 0.66425,-0.20559 0.94894,-0.6168 0.30048,-0.4112 0.5219,-0.97266 0.66425,-1.68436 l 1.30478,-6.57137 4.67351,-0.47447 -1.77926,9.32328 c -0.58518,3.03659 -1.47876,5.15587 -2.68073,6.35786 -0.61682,0.6168 -1.32852,1.04382 -2.13511,1.28106 -0.79078,0.25305 -1.70018,0.37957 -2.72818,0.37957 -1.66064,0 -2.96542,-0.26096 -3.91436,-0.78287 -0.94893,-0.52191 -1.4234,-1.2178 -1.4234,-2.08765 0,-0.64844 0.24514,-1.16245 0.73543,-1.54202 0.49028,-0.36376 1.11499,-0.54564 1.87414,-0.54564 0.66425,0 1.24943,0.14234 1.75553,0.42702 0.30049,0.17397 0.52191,0.37167 0.66425,0.59309 -0.36376,0.31631 -0.54564,0.73542 -0.54563,1.25734 -1e-5,0.69588 0.3163,1.04382 0.94893,1.04382 1.04382,0 1.86623,-1.20198 2.46723,-3.60595 0.17396,-0.7117 0.34003,-1.44712 0.49819,-2.20627"
inkscape:connector-curvature="0" />
</g>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -49,7 +49,7 @@
\end{center} \end{center}
\end{figure} \end{figure}
\vspace*{2cm} \vspace*{2cm}
{\large Version 3.0.2 }\\ {\large Version 3.0.3 }\\
\vspace*{1cm} \vspace*{1cm}
{Generated on \today}\\ {Generated on \today}\\
\end{center} \end{center}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -11,7 +11,7 @@
@section section_copyright wxWidgets Copyrights and Licenses @section section_copyright wxWidgets Copyrights and Licenses
Copyright (c) 1992-2013 Julian Smart, Vadim Zeitlin, Stefan Csomor, Robert Copyright (c) 1992-2017 Julian Smart, Vadim Zeitlin, Stefan Csomor, Robert
Roebling, and other members of the wxWidgets team, please see the Roebling, and other members of the wxWidgets team, please see the
acknowledgements section below. acknowledgements section below.

View File

@@ -78,9 +78,9 @@ paragraphs, but here are some of the benefits:
wxWidgets first-tier "ports", ie implementations of wxWidgets API, are: wxWidgets first-tier "ports", ie implementations of wxWidgets API, are:
@li wxMSW: This is the native port for Microsoft Windows systems (from Windows @li wxMSW: This is the native port for Microsoft Windows systems (from Windows
95 up to Windows 8.1 with at least Windows XP being recommended), either 32 or 95 up to Windows 10 with at least Windows XP being recommended), either 32 or
64 bits. The primarily supported compilers are Microsoft Visual C++ (versions 6 64 bits. The primarily supported compilers are Microsoft Visual C++ (versions 6
up to 2013 are supported, at least 2005 is recommended) and GNU g++ (either up to 2015 are supported, at least 2005 is recommended) and GNU g++ (either
from the traditional MinGW, TDM-GCC or MinGW-w64 distributions). from the traditional MinGW, TDM-GCC or MinGW-w64 distributions).
@li wxGTK: wxGTK2 and wxGTK3 are the ports using GTK+ library version 2.x and @li wxGTK: wxGTK2 and wxGTK3 are the ports using GTK+ library version 2.x and

View File

@@ -14,7 +14,7 @@
@author Julian Smart, Vadim Zeitlin, Robin Dunn, Stefan Csomor, @author Julian Smart, Vadim Zeitlin, Robin Dunn, Stefan Csomor,
Bryan Petty, Francesco Montorsi, Robert Roebling et al Bryan Petty, Francesco Montorsi, Robert Roebling et al
@date October 6, 2014 @date May 2, 2017
@n @n

View File

@@ -41,7 +41,7 @@ public:
virtual bool OnInit(); virtual bool OnInit();
}; };
IMPLEMENT_APP(DerivedApp) wxIMPLEMENT_APP(DerivedApp);
bool DerivedApp::OnInit() bool DerivedApp::OnInit()
{ {
@@ -53,14 +53,14 @@ bool DerivedApp::OnInit()
} }
@endcode @endcode
Note the use of IMPLEMENT_APP(appClass), which allows wxWidgets to dynamically Note the use of wxIMPLEMENT_APP(appClass), which allows wxWidgets to dynamically
create an instance of the application object at the appropriate point in create an instance of the application object at the appropriate point in
wxWidgets initialization. Previous versions of wxWidgets used to rely on the wxWidgets initialization. Previous versions of wxWidgets used to rely on the
creation of a global application object, but this is no longer recommended, creation of a global application object, but this is no longer recommended,
because required global initialization may not have been performed at because required global initialization may not have been performed at
application object construction time. application object construction time.
You can also use DECLARE_APP(appClass) in a header file to declare the wxGetApp You can also use wxDECLARE_APP(appClass) in a header file to declare the wxGetApp
function which returns a reference to the application object. Otherwise you can function which returns a reference to the application object. Otherwise you can
only use the global @c wxTheApp pointer which is of type @c wxApp*. only use the global @c wxTheApp pointer which is of type @c wxApp*.

View File

@@ -108,8 +108,8 @@ protected:
} }
private: private:
DECLARE_DYNAMIC_CLASS(MySpecialWidget) wxDECLARE_DYNAMIC_CLASS(MySpecialWidget);
DECLARE_EVENT_TABLE() wxDECLARE_EVENT_TABLE();
}; };
@endcode @endcode

View File

@@ -175,8 +175,8 @@ I.e. you would just write
@code @code
wxDateTime dt(...whatever...); wxDateTime dt(...whatever...);
printf("The time is %s in local time zone", dt.FormatTime().c_str()); wxPrintf("The time is %s in local time zone", dt.FormatTime());
printf("The time is %s in GMT", dt.FormatTime(wxDateTime::GMT).c_str()); wxPrintf("The time is %s in GMT", dt.FormatTime(wxDateTime::GMT));
@endcode @endcode

View File

@@ -38,7 +38,7 @@ be running on are unusually constrained (notice that when asserts are disabled
their condition is not even evaluated so the only run-time cost is a single their condition is not even evaluated so the only run-time cost is a single
condition check and the extra space taken by the asserts in the code). condition check and the extra space taken by the asserts in the code).
This automatic deactivation of debugging code is done by IMPLEMENT_APP() macro This automatic deactivation of debugging code is done by wxIMPLEMENT_APP() macro
so if you don't use you may need to explicitly call wxDISABLE_DEBUG_SUPPORT() so if you don't use you may need to explicitly call wxDISABLE_DEBUG_SUPPORT()
yourself. yourself.

View File

@@ -114,7 +114,7 @@ wxDocument class, you need to derive a new class and override at least the
member functions SaveObject and LoadObject. SaveObject and LoadObject will be member functions SaveObject and LoadObject. SaveObject and LoadObject will be
called by the framework when the document needs to be saved or loaded. called by the framework when the document needs to be saved or loaded.
Use the macros DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS in order to Use the macros wxDECLARE_DYNAMIC_CLASS and wxIMPLEMENT_DYNAMIC_CLASS in order to
allow the framework to create document objects on demand. When you create a allow the framework to create document objects on demand. When you create a
wxDocTemplate object on application initialization, you should pass wxDocTemplate object on application initialization, you should pass
CLASSINFO(YourDocumentClass) to the wxDocTemplate constructor so that it knows CLASSINFO(YourDocumentClass) to the wxDocTemplate constructor so that it knows
@@ -139,7 +139,7 @@ To use the abstract wxView class, you need to derive a new class and override
at least the member functions OnCreate, OnDraw, OnUpdate and OnClose. You will at least the member functions OnCreate, OnDraw, OnUpdate and OnClose. You will
probably want to respond to menu commands from the frame containing the view. probably want to respond to menu commands from the frame containing the view.
Use the macros DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS in order to Use the macros wxDECLARE_DYNAMIC_CLASS and wxIMPLEMENT_DYNAMIC_CLASS in order to
allow the framework to create view objects on demand. When you create a allow the framework to create view objects on demand. When you create a
wxDocTemplate object on application initialization, you should pass wxDocTemplate object on application initialization, you should pass
CLASSINFO(YourViewClass) to the wxDocTemplate constructor so that it knows how CLASSINFO(YourViewClass) to the wxDocTemplate constructor so that it knows how
@@ -295,10 +295,10 @@ In order to respond to a file load command from one of these identifiers, you
need to handle them using an event handler, for example: need to handle them using an event handler, for example:
@code @code
BEGIN_EVENT_TABLE(wxDocParentFrame, wxFrame) wxBEGIN_EVENT_TABLE(wxDocParentFrame, wxFrame)
EVT_MENU(wxID_EXIT, wxDocParentFrame::OnExit) EVT_MENU(wxID_EXIT, wxDocParentFrame::OnExit)
EVT_MENU_RANGE(wxID_FILE1, wxID_FILE9, wxDocParentFrame::OnMRUFile) EVT_MENU_RANGE(wxID_FILE1, wxID_FILE9, wxDocParentFrame::OnMRUFile)
END_EVENT_TABLE() wxEND_EVENT_TABLE()
void wxDocParentFrame::OnExit(wxCommandEvent& WXUNUSED(event)) void wxDocParentFrame::OnExit(wxCommandEvent& WXUNUSED(event))
{ {

View File

@@ -25,12 +25,13 @@ inclusion into future versions of the library!
The wxWidgets approach to i18n closely follows the GNU gettext package. The wxWidgets approach to i18n closely follows the GNU gettext package.
wxWidgets uses the message catalogs which are binary compatible with gettext wxWidgets uses the message catalogs which are binary compatible with gettext
catalogs and this allows to use all of the programs in this package to work catalogs and this allows to use all of the programs in this package to work
with them. But note that no additional libraries are needed during run-time, with them as well as using any of the tools working with message catalogs in
however, so you have only the message catalogs to distribute and nothing else. this format such as <a href="http://poedit.net/">Poedit</a>.
During program development you will need the gettext package for working with Because of this, you will need to use the gettext package to work with the
message catalogs. @b Warning: gettext versions @< 0.10 are known to be buggy, translations during the program development. However no additional libraries
so you should find a later version of it! are needed during run-time, so you have only the message catalogs to distribute
and nothing else.
There are two kinds of message catalogs: source catalogs which are text files There are two kinds of message catalogs: source catalogs which are text files
with extension .po and binary catalogs which are created from the source ones with extension .po and binary catalogs which are created from the source ones
@@ -53,7 +54,7 @@ Translating your application involves several steps:
language(s). It involves editing the .po file. language(s). It involves editing the .po file.
@li Compiling the .po file into .mo file to be used by the program. @li Compiling the .po file into .mo file to be used by the program.
@li Installing the .mo files with your application in the appropriate location @li Installing the .mo files with your application in the appropriate location
for the target system (@see overview_i18n_mofiles). for the target system (see @ref overview_i18n_mofiles).
@li Setting the appropriate locale in your program to use the strings for the @li Setting the appropriate locale in your program to use the strings for the
given language: see wxLocale. given language: see wxLocale.

View File

@@ -52,7 +52,7 @@ of arguments or a variable argument list pointer. Here are all of them:
defined) and expands to nothing in release mode (otherwise). defined) and expands to nothing in release mode (otherwise).
Note that under Windows, you must either run the program under debugger or Note that under Windows, you must either run the program under debugger or
use a 3rd party program such as DebugView use a 3rd party program such as DebugView
(http://www.microsoft.com/technet/sysinternals/Miscellaneous/DebugView.mspx) (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx)
to actually see the debug output. to actually see the debug output.
@li wxLogTrace() as wxLogDebug() only does something in debug build. The reason for @li wxLogTrace() as wxLogDebug() only does something in debug build. The reason for
making it a separate function from it is that usually there are a lot of making it a separate function from it is that usually there are a lot of

View File

@@ -174,7 +174,7 @@ user.
Class wxPageSetupDialog puts up the standard page setup dialog, which allows Class wxPageSetupDialog puts up the standard page setup dialog, which allows
you to specify the orientation, paper size, and related settings. You provide you to specify the orientation, paper size, and related settings. You provide
it with a wxPageSetupDialogData object at intialization, which is used to it with a wxPageSetupDialogData object at initialization, which is used to
populate the dialog; when the dialog is dismissed, this object contains the populate the dialog; when the dialog is dismissed, this object contains the
settings chosen by the user, including orientation and/or page margins. settings chosen by the user, including orientation and/or page margins.

View File

@@ -79,7 +79,6 @@ operators and copy constructors since they are reference-counted:
@li wxPalette @li wxPalette
@li wxPen @li wxPen
@li wxRegion @li wxRegion
@li wxString
@li wxVariant @li wxVariant
@li wxVariantData @li wxVariantData

View File

@@ -40,8 +40,8 @@ same code to draw to several different devices. You can draw using the member
functions of wxDC, such as wxDC::DrawLine and wxDC::DrawText. Control colour on functions of wxDC, such as wxDC::DrawLine and wxDC::DrawText. Control colour on
a window (wxColour) with brushes (wxBrush) and pens (wxPen). a window (wxColour) with brushes (wxBrush) and pens (wxPen).
To intercept events, you add a DECLARE_EVENT_TABLE macro to the window class To intercept events, you add a wxDECLARE_EVENT_TABLE macro to the window class
declaration, and put a BEGIN_EVENT_TABLE ... END_EVENT_TABLE block in the declaration, and put a wxBEGIN_EVENT_TABLE ... wxEND_EVENT_TABLE block in the
implementation file. Between these macros, you add event macros which map the implementation file. Between these macros, you add event macros which map the
event (such as a mouse click) to a member function. These might override event (such as a mouse click) to a member function. These might override
predefined event handlers such as for wxKeyEvent and wxMouseEvent. predefined event handlers such as for wxKeyEvent and wxMouseEvent.

View File

@@ -30,8 +30,8 @@ all the others. This macro is limited to wxWidgets classes only and only works
with pointers (unlike the real dynamic_cast which also accepts references). with pointers (unlike the real dynamic_cast which also accepts references).
Each class that you wish to be known to the type system should have a macro Each class that you wish to be known to the type system should have a macro
such as DECLARE_DYNAMIC_CLASS just inside the class declaration. The macro such as wxDECLARE_DYNAMIC_CLASS just inside the class declaration. The macro
IMPLEMENT_DYNAMIC_CLASS should be in the implementation file. Note that these wxIMPLEMENT_DYNAMIC_CLASS should be in the implementation file. Note that these
are entirely optional; use them if you wish to check object types, or create are entirely optional; use them if you wish to check object types, or create
instances of classes using the class name. However, it is good to get into the instances of classes using the class name. However, it is good to get into the
habit of adding these macros for all classes. habit of adding these macros for all classes.
@@ -39,13 +39,13 @@ habit of adding these macros for all classes.
Variations on these macros are used for multiple inheritance, and abstract Variations on these macros are used for multiple inheritance, and abstract
classes that cannot be instantiated dynamically or otherwise. classes that cannot be instantiated dynamically or otherwise.
DECLARE_DYNAMIC_CLASS inserts a static wxClassInfo declaration into the class, wxDECLARE_DYNAMIC_CLASS inserts a static wxClassInfo declaration into the class,
initialized by IMPLEMENT_DYNAMIC_CLASS. When initialized, the wxClassInfo initialized by wxIMPLEMENT_DYNAMIC_CLASS. When initialized, the wxClassInfo
object inserts itself into a linked list (accessed through wxClassInfo::first object inserts itself into a linked list (accessed through wxClassInfo::first
and wxClassInfo::next pointers). The linked list is fully created by the time and wxClassInfo::next pointers). The linked list is fully created by the time
all global initialisation is done. all global initialisation is done.
IMPLEMENT_DYNAMIC_CLASS is a macro that not only initialises the static wxIMPLEMENT_DYNAMIC_CLASS is a macro that not only initialises the static
wxClassInfo member, but defines a global function capable of creating a dynamic wxClassInfo member, but defines a global function capable of creating a dynamic
object of the class in question. A pointer to this function is stored in object of the class in question. A pointer to this function is stored in
wxClassInfo, and is used when an object should be created dynamically. wxClassInfo, and is used when an object should be created dynamically.
@@ -64,7 +64,7 @@ wxClassInfo object instead, then you can simply call wxClassInfo::CreateObject.
@section overview_rtti_classinfo wxClassInfo @section overview_rtti_classinfo wxClassInfo
This class stores meta-information about classes. An application may use macros This class stores meta-information about classes. An application may use macros
such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record runtime such as wxDECLARE_DYNAMIC_CLASS and wxIMPLEMENT_DYNAMIC_CLASS to record runtime
information about a class, including: information about a class, including:
@li Its position in the inheritance hierarchy. @li Its position in the inheritance hierarchy.
@@ -72,8 +72,8 @@ information about a class, including:
@li A string representation of the class name. @li A string representation of the class name.
@li A function that can be called to construct an instance of this class. @li A function that can be called to construct an instance of this class.
The DECLARE_... macros declare a static wxClassInfo variable in a class, which The wxDECLARE_... macros declare a static wxClassInfo variable in a class, which
is initialized by macros of the form IMPLEMENT_... in the implementation C++ is initialized by macros of the form wxIMPLEMENT_... in the implementation C++
file. Classes whose instances may be constructed dynamically are given a global file. Classes whose instances may be constructed dynamically are given a global
constructor function which returns a new object. constructor function which returns a new object.
@@ -89,7 +89,7 @@ In a header file frame.h:
@code @code
class wxFrame : public wxWindow class wxFrame : public wxWindow
{ {
DECLARE_DYNAMIC_CLASS(wxFrame) wxDECLARE_DYNAMIC_CLASS(wxFrame);
private: private:
wxString m_title; wxString m_title;
@@ -102,7 +102,7 @@ public:
In a C++ file frame.cpp: In a C++ file frame.cpp:
@code @code
IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow) wxIMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow);
wxFrame::wxFrame() wxFrame::wxFrame()
{ {

View File

@@ -402,12 +402,12 @@ public:
{ {
Close(); Close();
} }
DECLARE_EVENT_TABLE(); wxDECLARE_EVENT_TABLE();
}; };
BEGIN_EVENT_TABLE(TestWnd,TestWnd_Base) wxBEGIN_EVENT_TABLE(TestWnd,TestWnd_Base)
EVT_BUTTON(XRCID("B"), TestWnd::OnBPressed) EVT_BUTTON(XRCID("B"), TestWnd::OnBPressed)
END_EVENT_TABLE() wxEND_EVENT_TABLE()
@endcode @endcode
It is also possible to access the wxSizerItem of a sizer that is part of a It is also possible to access the wxSizerItem of a sizer that is part of a
@@ -452,7 +452,7 @@ public:
virtual bool CanHandle(wxXmlNode *node); virtual bool CanHandle(wxXmlNode *node);
// Register with wxWidgets' dynamic class subsystem. // Register with wxWidgets' dynamic class subsystem.
DECLARE_DYNAMIC_CLASS(MyControlXmlHandler) wxDECLARE_DYNAMIC_CLASS(MyControlXmlHandler);
}; };
@endcode @endcode
@@ -460,7 +460,7 @@ The implementation of your custom XML handler will typically look as:
@code @code
// Register with wxWidgets' dynamic class subsystem. // Register with wxWidgets' dynamic class subsystem.
IMPLEMENT_DYNAMIC_CLASS(MyControlXmlHandler, wxXmlResourceHandler) wxIMPLEMENT_DYNAMIC_CLASS(MyControlXmlHandler, wxXmlResourceHandler);
MyControlXmlHandler::MyControlXmlHandler() MyControlXmlHandler::MyControlXmlHandler()
{ {

View File

@@ -2523,7 +2523,7 @@ The subclass must satisfy a number of requirements:
-# It must be derived from the class specified in @c class attribute. -# It must be derived from the class specified in @c class attribute.
-# It must be visible in wxWidget's pseudo-RTTI mechanism, i.e. there must be -# It must be visible in wxWidget's pseudo-RTTI mechanism, i.e. there must be
a DECLARE_DYNAMIC_CLASS() entry for it. a wxDECLARE_DYNAMIC_CLASS() entry for it.
-# It must support two-phase creation. In particular, this means that it has -# It must support two-phase creation. In particular, this means that it has
to have default constructor. to have default constructor.
-# It cannot provide custom Create() method and must be constructible using -# It cannot provide custom Create() method and must be constructible using

7
docs/doxygen/regen.sh Executable file → Normal file
View File

@@ -38,11 +38,10 @@ fi
# Check that doxygen has the correct version as different versions of it are # Check that doxygen has the correct version as different versions of it are
# unfortunately not always (in fact, practically never) compatible. # unfortunately not always (in fact, practically never) compatible.
# #
# Still allow using incompatible version for some quick local testing if really # Still allow using incompatible version if explicitly requested.
# needed and 1.8.2 can't be installed for whatever reason.
if [[ -z $WX_SKIP_DOXYGEN_VERSION_CHECK ]]; then if [[ -z $WX_SKIP_DOXYGEN_VERSION_CHECK ]]; then
doxygen_version=`$DOXYGEN --version` doxygen_version=`$DOXYGEN --version`
doxygen_version_required=1.8.2 doxygen_version_required=1.8.8
if [[ $doxygen_version != $doxygen_version_required ]]; then if [[ $doxygen_version != $doxygen_version_required ]]; then
echo "Doxygen version $doxygen_version is not supported." echo "Doxygen version $doxygen_version is not supported."
echo "Please use Doxygen $doxygen_version_required or export WX_SKIP_DOXYGEN_VERSION_CHECK." echo "Please use Doxygen $doxygen_version_required or export WX_SKIP_DOXYGEN_VERSION_CHECK."
@@ -186,7 +185,7 @@ if [[ "$1" = "docset" ]]; then
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetFeedURL $ATOMDIR/$ATOM defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetFeedURL $ATOMDIR/$ATOM
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetFallbackURL http://docs.wxwidgets.org defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetFallbackURL http://docs.wxwidgets.org
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetDescription "API reference and conceptual documentation for wxWidgets 3.0" defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetDescription "API reference and conceptual documentation for wxWidgets 3.0"
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info NSHumanReadableCopyright "Copyright 1992-2014 wxWidgets team, Portions 1996 Artificial Intelligence Applications Institute" defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info NSHumanReadableCopyright "Copyright 1992-2017 wxWidgets team, Portions 1996 Artificial Intelligence Applications Institute"
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info isJavaScriptEnabled true defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info isJavaScriptEnabled true
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info dashIndexFilePath index.html defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info dashIndexFilePath index.html
defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetPlatformFamily wx defaults write $DESTINATIONDIR/$DOCSETNAME/Contents/Info DocSetPlatformFamily wx

View File

@@ -2,7 +2,7 @@
-------------------------------- --------------------------------
This is wxWidgets for Microsoft Windows 9x/ME, Windows NT This is wxWidgets for Microsoft Windows 9x/ME, Windows NT
and later (2000, XP, Vista, 7, 8, etc) including both 32 bit and 64 and later (2000, XP, Vista, 7, 8, 10, etc) including both 32 bit and 64
bit versions. bit versions.
@@ -19,11 +19,11 @@ Installation
If you are using one of the supported compilers, you can download the If you are using one of the supported compilers, you can download the
pre-built in binaries from pre-built in binaries from
https://sourceforge.net/projects/wxwindows/files/3.0.0/binaries/ https://sourceforge.net/projects/wxwindows/files/3.0.3/binaries/
or or
ftp://ftp.wxwidgets.org/pub/3.0.0/binaries/ ftp://ftp.wxwidgets.org/pub/3.0.3/binaries/
In this case, just uncompress the binaries archive under any directory In this case, just uncompress the binaries archive under any directory
and skip to "Building Applications Using wxWidgets" part. and skip to "Building Applications Using wxWidgets" part.
@@ -98,8 +98,8 @@ Microsoft Visual C++ Compilation
Ready to use project files are provided for VC++ versions 6, 7, 8, 9 Ready to use project files are provided for VC++ versions 6, 7, 8, 9
and 10 (also known as MSVS 6, 2003, 2005, 2008 and 2010 respectively). and 10 (also known as MSVS 6, 2003, 2005, 2008 and 2010 respectively).
For VC++ 11 (2012, respectively), you need to import the existing VC10 For VC++ 11, 12 and 14 (2012, 2013 and 2015 respectively), you need to
project files into VC11 IDE first. import the existing VC10 project files into VC11, VC12 or VC14 IDE first.
Simply open wx_vcN.sln (for N=7, 8, 9 or 10) or wx.dsw (for VC6) file, Simply open wx_vcN.sln (for N=7, 8, 9 or 10) or wx.dsw (for VC6) file,
select the appropriate configuration (Debug or Release, static or DLL) select the appropriate configuration (Debug or Release, static or DLL)

View File

@@ -1,15 +1,11 @@
October 6, 2014 -- The wxWidgets team is pleased to announce a May 2, 2017 -- The wxWidgets team is pleased to announce a
major new release of our open source framework for the development major new release of our open source framework for the development
of native cross-platform applications in C++. of native cross-platform applications in C++.
wxWidgets 3.0.2 is a stable bug fix release in 3.0 branch and is wxWidgets 3.0.3 is a stable bug fix release in 3.0 branch and is
available at available at
https://sourceforge.net/downloads/wxwindows/3.0.2/ https://github.com/wxWidgets/wxWidgets/releases/tag/v3.0.3/
and at our FTP mirror at
ftp://ftp.wxwidgets.org/pub/3.0.2/
Please choose the archive format suitable for your platform, i.e. 7z Please choose the archive format suitable for your platform, i.e. 7z
or ZIP for Windows platforms and tar.bz2 for the Unix systems or ZIP for Windows platforms and tar.bz2 for the Unix systems
@@ -20,62 +16,53 @@ the Windows installer (.exe file) you still need to build wxWidgets
as only sources, not binaries, are installed. as only sources, not binaries, are installed.
We also provide the pre-built versions of wxMSW libraries for the We also provide the pre-built versions of wxMSW libraries for the
selected compilers at selected compilers.
https://sourceforge.net/downloads/wxwindows/3.0.2/binaries/
Please see the README file there for the descriptions of the
individual files.
This is a bug fix release with no significant new features compared to This is a bug fix release with no significant new features compared to
the previous 3.0.x releases and compatible with them at both the API the previous 3.0.x releases and compatible with them at both the API
and the ABI level (i.e. all applications linked against earlier 3.0.x and the ABI level (i.e. all applications linked against earlier 3.0.x
DLLs or shared libraries will continue to work when using 3.0.2 DLLs or shared libraries will continue to work when using 3.0.3
libraries). libraries).
Some of the changes: The full list of changes in this release is available at
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.3/docs/changes.txt
(starting from the line 583, or search for "3.0.3" in this file), here are
some selected ones:
* In all ports:
- Support requestion modern (3.x+) OpenGL version in wxGLCanvas.
- Fix using wxHTTP and wxFTP from worker thread.
* In wxGTK: * In wxGTK:
- Fix wxSearchCtrl layout. - Support for Gstreamer 1.0 in wxMediaCtrl, in addition to obsolete 0.x.
- Fix mouse handling in wxListCtrl and wxTreeCtrl inside wxNotebook. - Several fatal bug fixes for GTK+ 3.
- Avoid some GTK+ warnings.
* In wxMSW: * In wxMSW:
- Cygwin 1.7 and MinGW 4.8 build fixes. - Build fixes for MinGW 4.9.
- Fix parallel build in MSVS 2010+ solutions. - Improve wxSearchCtrl appearance.
- Add x64 configurations to MSVS 2005/2008 projects too. - Fix creating or modifying file associations under recent Windows versions.
- Fix using Esc as accelerator in the menus.
- Fix wxRadioBox, wxSlider, wxToggleButton with non-default colours.
- RTL support fixes for wxDC and wxGrid.
* In wxOSX: * In wxOSX:
- Avoid compilation warnings when using 10.10 SDK. - Build fixes for wxWebView and wxMediaCtrl when using 10.10 or later SDK.
- Enhancements to retina support. - Implement wxTE_{RIGHT,CENTER} support in multiline wxTextCtrl.
- Generate wxEVT_TEXT_ENTER for wxTE_PASSWORD controls.
- Fix handling of WXK_NUMPAD_ENTER.
- Fix length of text in wxTextDataObject.
- Fix wxDatePickerCtrl appearance.
Despite of the focus on bug fixes, a few new features have
nevertheless made it into this release as well:
- Add support for "%V", "%G" and "%g" to wxDateTime::Format(). If you are upgrading from wxWidgets 2.8 or earlier, please read the
- Added an XRC handler for wxSimplebook. "INCOMPATIBLE CHANGES" section in the beginning of this file and the
- Allow to specify the "variant" window property in XRC. corresponding part of the manual at
- Add wxGenericListCtrl::EndEditLabel().
Other changes in this release are described in the file http://docs.wxwidgets.org/3.0.3/overview_changes_since28.html
docs/changes.txt available online at
https://sourceforge.net/projects/wxwindows/files/3.0.2/changes.txt
This file also contains information about the changes in 3.0 compared
to earlier versions of wxWidgets, please read it, and especially its
"INCOMPATIBLE CHANGES" section, if you are upgrading from wxWidgets
2.8 or earlier. And for even more details, please see
http://docs.wxwidgets.org/3.0.0/overview_changes_since28.html
We recommend that you upgrade to wxWidgets 3.0.2 if you already use an We recommend that you upgrade to wxWidgets 3.0.3 if you already use an
earlier wxWidgets 3.0.x release, the upgrade is completely transparent earlier wxWidgets 3.0.x release, the upgrade is completely transparent
and doesn't require any changes in the existing code. If you are still and doesn't require any changes in the existing code. If you are still
using wxWidgets 2.8 or earlier, please consider updating to wxWidgets using wxWidgets 2.8 or earlier, please consider updating to wxWidgets

View File

@@ -1,4 +1,4 @@
wxWidgets 3.0.2 Release Notes wxWidgets 3.0.3 Release Notes
============================= =============================
Welcome to the latest stable release of wxWidgets, a free and open Welcome to the latest stable release of wxWidgets, a free and open
@@ -18,20 +18,13 @@ You can learn more about wxWidgets at
and read its documentation online at and read its documentation online at
http://docs.wxwidgets.org/3.0.2/ http://docs.wxwidgets.org/3.0.3/
wxWidgets sources and binaries for the selected platforms are wxWidgets sources and binaries for the selected platforms are
available for download from available for download from
https://sourceforge.net/projects/wxwindows/files/3.0.2/ https://github.com/wxWidgets/wxWidgets/releases/tag/v3.0.3/
or
ftp://ftp.wxwidgets.org/pub/3.0.2/
Please see the "Files" section below for the description of various
files available at these locations.
@@ -41,55 +34,51 @@ Changes in this release
This is a bug fix release with no significant new features compared to This is a bug fix release with no significant new features compared to
the previous 3.0.x releases and compatible with them at both the API the previous 3.0.x releases and compatible with them at both the API
and the ABI level (i.e. all applications linked against earlier 3.0.x and the ABI level (i.e. all applications linked against earlier 3.0.x
DLLs or shared libraries will continue to work when using 3.0.2 DLLs or shared libraries will continue to work when using 3.0.3
libraries). libraries).
Some of the changes: The full list of changes in this release is available at
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.3/docs/changes.txt
(starting from the line 583, or search for "3.0.3" in this file), here are
some selected ones:
* In all ports:
- Support requestion modern (3.x+) OpenGL version in wxGLCanvas.
- Fix using wxHTTP and wxFTP from worker thread.
* In wxGTK: * In wxGTK:
- Fix wxSearchCtrl layout. - Support for Gstreamer 1.0 in wxMediaCtrl, in addition to obsolete 0.x.
- Fix mouse handling in wxListCtrl and wxTreeCtrl inside wxNotebook. - Several fatal bug fixes for GTK+ 3.
- Avoid some GTK+ warnings.
* In wxMSW: * In wxMSW:
- Cygwin 1.7 and MinGW 4.8 build fixes. - Build fixes for MinGW 4.9.
- Fix parallel build in MSVS 2010+ solutions. - Improve wxSearchCtrl appearance.
- Add x64 configurations to MSVS 2005/2008 projects too. - Fix creating or modifying file associations under recent Windows versions.
- Fix using Esc as accelerator in the menus.
- Fix wxRadioBox, wxSlider, wxToggleButton with non-default colours.
- RTL support fixes for wxDC and wxGrid.
* In wxOSX: * In wxOSX:
- Avoid compilation warnings when using 10.10 SDK. - Build fixes for wxWebView and wxMediaCtrl when using 10.10 or later SDK.
- Enhancements to retina support. - Implement wxTE_{RIGHT,CENTER} support in multiline wxTextCtrl.
- Generate wxEVT_TEXT_ENTER for wxTE_PASSWORD controls.
- Fix handling of WXK_NUMPAD_ENTER.
- Fix length of text in wxTextDataObject.
- Fix wxDatePickerCtrl appearance.
Despite of the focus on bug fixes, a few new features have
nevertheless made it into this release as well:
- Add support for "%V", "%G" and "%g" to wxDateTime::Format(). If you are upgrading from wxWidgets 2.8 or earlier, please read the
- Added an XRC handler for wxSimplebook. "INCOMPATIBLE CHANGES" section in the beginning of this file and the
- Allow to specify the "variant" window property in XRC. corresponding part of the manual at
- Add wxGenericListCtrl::EndEditLabel().
Other changes in this release are described in the file http://docs.wxwidgets.org/3.0.3/overview_changes_since28.html
docs/changes.txt available online at
https://sourceforge.net/projects/wxwindows/files/3.0.2/changes.txt
This file also contains information about the changes in 3.0 compared
to earlier versions of wxWidgets, please read it, and especially its
"INCOMPATIBLE CHANGES" section, if you are upgrading from wxWidgets
2.8 or earlier. And for even more details, please see
http://docs.wxwidgets.org/3.0.0/overview_changes_since28.html
Platforms supported Platforms supported
------------------- -------------------
wxWidgets currently supports the following primary platforms: wxWidgets 3.0.x supports the following primary platforms:
- Windows 95/98/ME, NT, 2000, XP, Vista, 7 (32/64 bits). - Windows 95/98/ME, NT, 2000, XP, Vista, 7, 8, 10 (32/64 bits).
- Most Unix variants using the GTK+ toolkit (version 2.6 or newer) - Most Unix variants using the GTK+ toolkit (version 2.6 or newer)
- Mac OS X (10.5 or newer) using Cocoa (32/64 bits) or Carbon (32 only) - Mac OS X (10.5 or newer) using Cocoa (32/64 bits) or Carbon (32 only)
@@ -215,4 +204,4 @@ If you are looking for support, you can get it from
Have fun! Have fun!
The wxWidgets Team, October 2014 The wxWidgets Team, April 2017

97
docs/release.md Normal file
View File

@@ -0,0 +1,97 @@
Welcome to wxWidgets, a free and open source cross-platform C++ framework for writing advanced GUI applications using native controls.
Please notice that since the 2.9 series, only a single source distribution is provided instead of the multiple distributions containing only the files for each port as was done before. So you only need to download wxWidgets-3.0.0.zip (or .7z for much smaller archive size) for Microsoft Windows systems or wxWidgets-3.0.0.tar.bz2 for Unix ones, including Mac OS X. The only difference between these files is that the ZIP (and 7z) archives contain files with DOS line endings while the tar balls contain files with Unix line endings.
See [README](https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.3/docs/readme.txt) for more information about this release and the [change log](https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.3/docs/changes.txt) for details of the changes in it.
## Reporting Problems
Please report bugs to the [issue tracker](http://trac.wxwidgets.org/newticket) or the [wx-users mailing list](http://groups.google.com/group/wx-users).
## Download Verification
To verify your download please use the following sha1sums:
```
b7a65ea3d3df02173fa9973f2f696b4e8110d14f wxMSW-3.0.3-Setup.exe
9c818ae6a08a4094d323abd5ff8afc9f52b64e95 wxWidgets-3.0.3-docs-chm.zip
4b77c04f2a9d811e3d43dae8e8640998ca04b647 wxWidgets-3.0.3-docs-html.tar.bz2
f175080da62390510034df55fdb7b13c8010b228 wxWidgets-3.0.3-docs-html.zip
12adc4545f4ec90b026d956b40d05a6f9c0a59b8 wxWidgets-3.0.3-headers.7z
7836c1b5f22871080de538446aaa26044e387e9c wxWidgets-3.0.3.7z
3525306c926e208d9b0272aaa9c091b8c7264e5b wxWidgets-3.0.3.tar.bz2
6b5ef065e6a8b6b010a9d92f344a423ecd9fb711 wxWidgets-3.0.3.zip
```
## Binaries
We have provided pre-built binary files for the following compilers:
* Microsoft Visual C++ compiler versions 9.0, 10.0, 11.0, 12.0, 14.0 and 14.1, corresponding to marketing product names of Microsoft Visual Studio 2008, 2010, 2012, 2013, 2015 and 2017 respectively.
* MinGW-TDM versions 4.9.2 and 5.1.0 (with the default SJLJ exceptions propagation method).
### For Developers
For developing applications with wxWidgets you need to download the compiler-independent `wxWidgets-3.0.3_Headers.7z` file and one of `wxMSW-3.0.3-vcXXX_Dev.7z` or `wxMSW-3.0.3_gccXXX_Dev.7z` files depending on your compiler, its version and the target architecture (x86 if not specified or x64).
Unpack both files into the same directory so that `include` and `lib` directories are at the same level after unpacking. You should be able to compile and link applications using wxWidgets in both debug and release modes but the debug symbols are provided only for debug libraries in this archive, see below for the release build debug symbols.
### For End Users
End users may download one of `wxMSW-3.0.3_vcXXX_ReleaseDLL.7z` or `wxMSW-3.0.3_gccXXX_ReleaseDLL.7z` files to get just the DLLs required for running the applications using wxWidgets.
### For Debugging
* Microsoft Visual C++ users: Files `wxMSW-3.0.3_vcXXX_ReleasePDB.7z` contain the debug symbols for the release build of the DLLs. Download them if you want to debug your own applications in release build or if you want to get meaningful information from mini-dumps retrieved from your users machines.
* MinGW-TDM users: Currently the debug symbols are not available for the release build of the DLLs (only the debug versions of the DLLs contains the debug symbols).
### Binary File Download Verification
To verify your download please use the following sha1sums:
```
5bc5f4cdb5e54daf5b17f57a9581c812119f8f0c wxMSW-3.0.3_gcc492TDM_Dev.7z
46d8cbe1c8e0aedfb842e86a786ccca58cd4adb3 wxMSW-3.0.3_gcc492TDM_ReleaseDLL.7z
bd06cd7779b46b30e463c8b32660fc486cf3bcd4 wxMSW-3.0.3_gcc492TDM_x64_Dev.7z
c63a4bae088900b07fb41a07ed30e8c1f0ae1348 wxMSW-3.0.3_gcc492TDM_x64_ReleaseDLL.7z
eca596c6f2dabd0b04a5011905f3bfb0f2ae4f35 wxMSW-3.0.3_gcc510TDM_Dev.7z
5dc49aff237a87a2f34a2246963f08482c0ff0fd wxMSW-3.0.3_gcc510TDM_ReleaseDLL.7z
4bbdddbcd10121100407969d1e07367b1cbedd5c wxMSW-3.0.3_gcc510TDM_x64_Dev.7z
52180553267525bacdde154098a1b1b44c4938fe wxMSW-3.0.3_gcc510TDM_x64_ReleaseDLL.7z
69d5d8d93d2409856137602863c2766f96553093 wxMSW-3.0.3_vc90_Dev.7z
71178e069594b7c194a6f1506bc8aad7165bf627 wxMSW-3.0.3_vc90_ReleaseDLL.7z
b04916df6e2aeb6ab0f0ef49ecac5d5927f0159e wxMSW-3.0.3_vc90_ReleasePDB.7z
13ef53b4647607fb04e8e70ab52a4189247e4efe wxMSW-3.0.3_vc90_x64_Dev.7z
55c3778d2312740391cd4081a608c0d3261905e4 wxMSW-3.0.3_vc90_x64_ReleaseDLL.7z
a7264b71662c36c8a7167e23c8724f9d608359af wxMSW-3.0.3_vc90_x64_ReleasePDB.7z
5fb26a0935e5c5786bec26aaad4156388fc72b85 wxMSW-3.0.3_vc100_Dev.7z
544926ea1546d03e091cad6ce19483d99d2e0b04 wxMSW-3.0.3_vc100_ReleaseDLL.7z
2697fa5d1f79ab9ee6dce3ec5f870f0ebb74a539 wxMSW-3.0.3_vc100_ReleasePDB.7z
96f7aa82d3bf862fb4f7e3959a90d27093bba3d8 wxMSW-3.0.3_vc100_x64_Dev.7z
745d3c0a8de3c446de35d755f9f79b515524efeb wxMSW-3.0.3_vc100_x64_ReleaseDLL.7z
56b29284868448494b5b02cf64a87ec180fa4eb7 wxMSW-3.0.3_vc100_x64_ReleasePDB.7z
cf613014fc50f3ea2bf1b2813a8b243f1c9a7db2 wxMSW-3.0.3_vc110_Dev.7z
5c65de8530d696ffb70b026dbe49a81d824eb4de wxMSW-3.0.3_vc110_ReleaseDLL.7z
c1da975be11c89ff1d43d87c0b77613e922b2acd wxMSW-3.0.3_vc110_ReleasePDB.7z
0ce2c02d6238693228438b2e8a990f7399e52970 wxMSW-3.0.3_vc110_x64_Dev.7z
e8a5c432fc574735c6311c7522fbf79faa3f9d53 wxMSW-3.0.3_vc110_x64_ReleaseDLL.7z
1b1b0224449cfac4427be3e528912e7100075ea3 wxMSW-3.0.3_vc110_x64_ReleasePDB.7z
92f282a3f6dfa9eacdd207e58f35253dc77c274c wxMSW-3.0.3_vc120_Dev.7z
994ae7ada1d7a923ed929fe0595e23fed140ab98 wxMSW-3.0.3_vc120_ReleaseDLL.7z
357bbe8d534ad0e5ed3c73b1e34241c7f15f3fe6 wxMSW-3.0.3_vc120_ReleasePDB.7z
4b286f8b79267187248b0ff8568c8e43438b3e0d wxMSW-3.0.3_vc120_x64_Dev.7z
519126b3c529a60f0654b51bec2910a7984006ff wxMSW-3.0.3_vc120_x64_ReleaseDLL.7z
81f562db75645f27137f51a493aa521de3085dc7 wxMSW-3.0.3_vc120_x64_ReleasePDB.7z
30cc206c9a9b1f5ea38dca0e9af31ed38cd1e1f5 wxMSW-3.0.3_vc140_Dev.7z
f7cca6f35df05c62bc0ad4f0ed6c6e326df1f05e wxMSW-3.0.3_vc140_ReleaseDLL.7z
09d251e1f4ed46f95bc6e3eb5d94d4984080d33a wxMSW-3.0.3_vc140_ReleasePDB.7z
bf30f907ba51a54ac0719adff3486bb22ab3673d wxMSW-3.0.3_vc140_x64_Dev.7z
6c892db45ec3b0f8e8722b5e60d46dfcd878249c wxMSW-3.0.3_vc140_x64_ReleaseDLL.7z
e512c449bcc1df195b871b59ae682b396a2a66e7 wxMSW-3.0.3_vc140_x64_ReleasePDB.7z
1e44739a47bf0a7b56bf1e31c75aae680402f2ec wxMSW-3.0.3_vc141_Dev.7z
af2f7d3423ed78ea2526bf8a386170c7a4de5d52 wxMSW-3.0.3_vc141_ReleaseDLL.7z
f803d6e5d53a1ad52ce07dab5f7869bd2c9a3f0a wxMSW-3.0.3_vc141_ReleasePDB.7z
87ed0a9c0dc7c5924d2d02afc622988c02d3e45d wxMSW-3.0.3_vc141_x64_Dev.7z
cd5f2be45ec881ff1651aca6aa9333266978ff47 wxMSW-3.0.3_vc141_x64_ReleaseDLL.7z
d66dbfb990481910350547fbc3da01e910eab7b1 wxMSW-3.0.3_vc141_x64_ReleasePDB.7z
```

View File

@@ -1,112 +0,0 @@
wxWidgets 3.0.1 Binaries
========================
This directory contains binary files for wxWidgets 3.0.1 release.
* Microsoft Visual C++ compiler versions 9.0, 10.0, 11.0 and 12.0
corresponding to marketing product names of Microsoft Visual Studio
2008, 2010, 2012 and 2013 respectively.
* MinGW-TDM versions 4.7.1 and 4.8.1 (with the default SJLJ exceptions
propagation method).
For Developers
--------------
For developing applications with wxWidgets you need to download the
compiler-independent wxWidgets-3.0.1_Headers.7z file (found in the
parent directory) and one of wxMSW-3.0.1-vcXXX_Dev.7z or
wxMSW-3.0.1_gccXXX_Dev.7z files depending on your compiler, its
version and the target architecture (x86 if not specified or x64).
Unpack both files into the same directory so that "include" and "lib"
directories are at the same level after unpacking. You should be able
to compile and link applications using wxWidgets in both debug and
release modes but the debug symbols are provided only for debug
libraries in this archive, see below for the release build debug
symbols.
For End Users
-------------
End users may download one of wxMSW-3.0.1_vcXXX_ReleaseDLL.7z or
wxMSW-3.0.1_gccXXX_ReleaseDLL.7z files to get just the DLLs
required for running the applications using wxWidgets.
For Debugging
-------------
* Microsoft Visual C++ users: Files wxMSW-3.0.1_vcXXX_ReleasePDB.7z
contain the debug symbols for the release build of the DLLs. Download
them if you want to debug your own applications in release build or
if you want to get meaningful information from mini-dumps retrieved
from your users machines.
* MinGW-TDM users: Currently the debug symbols are not available for
the release build of the DLLs (only the debug versions of the DLLs
contains the debug symbols).
Feedback
--------
This is our first attempt to provide binaries for a major wxWidgets
release and we are very interested in your feedback. Please let us
know if these files are useful to you and how could they be made more
so and, of course, if you run into any problems with them. Looking
forward to hearing from you on [wx-users mailing list](http://groups.google.com/group/wx-users).
Check Sums
----------
To verify your download please use the following sha1sums:
18ece8798f037c86d3330b2e909a4022a0321100 wxMSW-3.0.1_gcc471TDM_Dev.7z
167bf2bfcc072165318e42a7c84ae58099c2d4a8 wxMSW-3.0.1_gcc471TDM_ReleaseDLL.7z
26dce50acdd349d60088e60d2bad3e283c4ddaa7 wxMSW-3.0.1_gcc471TDM_x64_Dev.7z
04dbd607b0ab17c34c61975270f768b43dd65977 wxMSW-3.0.1_gcc471TDM_x64_ReleaseDLL.7z
bfc8ac6e01e977a93281029d376e9bc998d2ccf2 wxMSW-3.0.1_gcc481TDM_Dev.7z
504e0897553706cb3934745ba89da2d153cfa945 wxMSW-3.0.1_gcc481TDM_ReleaseDLL.7z
f0801e9433e707290cd31f2e9476df0d4279a45d wxMSW-3.0.1_gcc481TDM_x64_Dev.7z
c81090181a0863aca6af91bba602db1f4304f7dd wxMSW-3.0.1_gcc481TDM_x64_ReleaseDLL.7z
0811a37e86311888dc7b2328e9f834e2587816e1 wxMSW-3.0.1_vc90_Dev.7z
04f0239e0b2f6fcde12235b539c80638d567a168 wxMSW-3.0.1_vc90_ReleaseDLL.7z
5ae62332d01ddd99874f7dc76085c84f1558f676 wxMSW-3.0.1_vc90_ReleasePDB.7z
42285a7da0a250fa475d36a579cf7bff56c5d153 wxMSW-3.0.1_vc90_x64_Dev.7z
74738de7729236027e836bd71e05c5a2c0c8604f wxMSW-3.0.1_vc90_x64_ReleaseDLL.7z
38cc78dff12ac1deb0f524cf49fca3f4b9c8f538 wxMSW-3.0.1_vc90_x64_ReleaseDLL.msi
e737f2542294f4952c398b23c543675610a02deb wxMSW-3.0.1_vc90_x64_ReleasePDB.7z
e184bd3f92164bff1f82ea2b1eda152c5df74656 wxMSW-3.0.1_vc90_x86_ReleaseDLL.msi
7060348454cc48284b1d5abeeda6c31b45d85eda wxMSW-3.0.1_vc100_Dev.7z
c91fdf9499ffbc49cb5bd7241aac30f42c1f1399 wxMSW-3.0.1_vc100_ReleaseDLL.7z
74e8a2eb81cca4eb189130206a6d91aa2759f0a9 wxMSW-3.0.1_vc100_ReleasePDB.7z
4773be9e2b8deb007c06289bc0ac4969d2dec386 wxMSW-3.0.1_vc100_x64_Dev.7z
76dc2d55698669f5de19bc149675961ab1115886 wxMSW-3.0.1_vc100_x64_ReleaseDLL.7z
efa6846cd9ad76109c20077d623d602e18a04997 wxMSW-3.0.1_vc100_x64_ReleaseDLL.msi
77d886d0ef36cd32a4308abb75748ca567dd9251 wxMSW-3.0.1_vc100_x64_ReleasePDB.7z
cacd6023817935d1c47c3ffc3fd7e1f758c85279 wxMSW-3.0.1_vc100_x86_ReleaseDLL.msi
ea82f65254080a7a5680a0f9283e300a675ea68d wxMSW-3.0.1_vc110_Dev.7z
9e2dcd558fc2bd64b90c7f4c76744ea3255b3c60 wxMSW-3.0.1_vc110_ReleaseDLL.7z
1cff890303e9663f7243fe145d12a8fed60c5495 wxMSW-3.0.1_vc110_ReleasePDB.7z
3c0c53350310d9fec37dbbd3cd35bdfb81d2a2dc wxMSW-3.0.1_vc110_x64_Dev.7z
de7d2f7580d080088e3f64c66d26cba931a6f4e9 wxMSW-3.0.1_vc110_x64_ReleaseDLL.7z
4d7a49e3d67f6559ac8bfbbbecaba16653eee163 wxMSW-3.0.1_vc110_x64_ReleaseDLL.msi
3670ac5cf20ea76e93fa6de8a91af5a6fe7a8de5 wxMSW-3.0.1_vc110_x64_ReleasePDB.7z
2613d7c676ef35b4e08e32c6bf34f13083ac6e5b wxMSW-3.0.1_vc110_x86_ReleaseDLL.msi
7ecd00f81661ef0d3cf19958afe14f3b3dec0618 wxMSW-3.0.1_vc120_Dev.7z
888c2c1eabfda5d248e14d8b56165468825558d5 wxMSW-3.0.1_vc120_ReleaseDLL.7z
760567170bf5373da42b239f9774b91920ffec95 wxMSW-3.0.1_vc120_ReleasePDB.7z
97968a620d203d4f1b4f521b91ea9ec7ad3ca50f wxMSW-3.0.1_vc120_x64_Dev.7z
0ba6d750feee3e4e3fbe79414b501aea6766ff60 wxMSW-3.0.1_vc120_x64_ReleaseDLL.7z
693974bbec1d1b41c020332e17e60527eed76f7f wxMSW-3.0.1_vc120_x64_ReleaseDLL.msi
ad095523e1f0a13a354ec1d1512308c5b56d55b8 wxMSW-3.0.1_vc120_x64_ReleasePDB.7z
5aaee8c78fb03c13dcd05656f7c46f4ec02ab625 wxMSW-3.0.1_vc120_x86_ReleaseDLL.msi
Credit
------
Thanks to Danny Scott and Xavier Perrissoud for providing MSVC and
MinGW-TDM binaries, respectively!

View File

@@ -1,40 +0,0 @@
wxWidgets 3.0.1
===============
This directory contains the files containing the sources and documentation of
wxWidgets 3.0.1 release. Please see the binaries subdirectory for the binaries
for the selected platforms/compilers.
Please notice that since the 2.9 series only a single source distribution is
provided instead of the multiple distributions containing only the files for
each port as was done before. So you only need to download wxWidgets-3.0.1.zip
(or .7z for much smaller archive size) for Microsoft Windows systems or
wxWidgets-3.0.1.tar.bz2 for Unix ones, including Mac OS X. The only difference
between these files is that the ZIP (and 7z) archives contain files with DOS
line endings while the tar balls contain files with Unix line endings.
Note for the Windows users: please note that the installer installs *only* the
sources and you still need to compile the library before using it. See binaries
subdirectory for the pre-built binaries for the selected compilers.
Reporting Problems
------------------
Please report any bugs in this release using [our Trac](http://trac.wxwidgets.org/report)
or by posting to [wx-users mailing list](http://groups.google.com/group/wx-users).
Check Sums
----------
To verify your download please use the following sha1sums:
e0ad42932fc8e9462d0a852086a1ecc97fae3a48 wxWidgets-3.0.1.7z
73e58521d6871c9f4d1e7974c6e3a81629fddcf8 wxWidgets-3.0.1.tar.bz2
e88ad739f3be41ae13ff5ef6b73b5d3a2bb5ee7f wxWidgets-3.0.1.zip
b070994dceff8e2db4263d8b0eab5b149e68e959 wxWidgets-3.0.1-docs-html.tar.bz2
2933c60e5ceca650cc9168066bf69e96b648ee96 wxWidgets-3.0.1-docs-html.zip
b13c987892392d2c204750f935efe0d1e28b8e0b wxWidgets-3.0.1-docs-chm.zip
f6beb163df207fbfba5caa1a485a8ed5d55978ea wxWidgets-3.0.1_headers.7z
5bb83e64eac8a77a1e3a5157a0ff8a7ff4db4583 wxMSW-3.0.1-Setup.exe

View File

@@ -1,101 +1,56 @@
Making a new wxWidgets release Making a New wxWidgets Release
============================== ==============================
Before making the release Creating a new release requires a few things before getting started:
-------------------------
Change the version in include/wx/version.h. * Linux or OSX.
* Windows 7+ with HTML Help Workshop, and Inno Setup installed.
* 7-Zip, Doxygen 1.8.8, and GraphViz installed on both machines.
Update docs/readme.txt. Please review its contents in addition to just Unless mentioned otherwise, all steps should be run on Linux or OSX so that the
changing the version number. repository export used for the release is primarily using LF line endings. Files
that require CRLF line endings will be converted appropriately.
Put a date on the release line in docs/changes.txt. *Important:* Ensure that 7-Zip, HTML Help Workshop, Doxygen, GraphViz and Inno
Setup have all been added to your Path in Windows. You can confirm this by
running `7z`, `hhc`, `iscc`, `doxygen -v`, and `dot -V` in a command prompt.
Add the missing installed folder locations of any executables to your Path.
Update the date in the manual (docs/doxygen/mainpages/manual.h). Pre-Release Steps
-----------------
Update the release announcement post in docs/publicity/announce.txt. * Change the version in `include/wx/version.h`.
* Update `docs/readme.txt`. Please review its contents in addition to just
changing the version number.
* Put a date on the release line in `docs/changes.txt`.
* Update the date in the manual (`docs/doxygen/mainpages/manual.h`).
* Update the release announcement post in `docs/publicity/announce.txt`.
Creating Release Files
Creating release files
---------------------- ----------------------
The currently used release scripts need to be used from git-svn checkout and The release scripts can be run from any working directory, and they will
rely on Git to avoid problems with using non-clean trees and such. If you don't generate all release package files under `distrib/release/x.y.z`. The scripts
use Git you may use the alternative archive creation scripts in the next build the release packages based on the current HEAD commit, so always
section. ensure you have the appropriate tag or commit checked out.
Follow these steps assuming the current working directory is the root of git 1. Run `./build/tools/release.sh x.y.z` to create source archives
working copy and you want to prepare distribution for the version x.y.z: `wxWidgets-x.y.z.{7z,tar.bz2,zip}`, `wxWidgets-x.y.z-headers.7z`, and
`wxWidgets-x.y.z-docs-html.{tar.bz2,zip}` packages.
1. Run "./build/tools/svn-find-native-eols.pl > ../eol-native" (if you have 2. Copy just the `wxWidgets-x.y.z.zip` package into the same
an existing svn checkout, pass it to the script to make it run much faster, `distrib\release\x.y.z` folder on Windows.
but take care to have up to date sources in the working tree).
2. Run "./build/tools/git-make-release x.y.z" to create source archives 3. Run `build/tools/release.bat x.y.z` in a Windows command prompt.
../wxWidgets-x.y.z.{7z,tar.bz2,zip} and wxWidgets_x.y.z_Headers.zip.
3. Run "./build/tools/make-html-docs x.y.z" to create HTML documentation
archives ../wxWidgets-x.y.z.{tar.bz2,zip}
4. This step must be done under Windows as it relies on having hhc.exe, the
Html Help compiler, in PATH: run the following commands
cd docs\doxygen
regen.bat chm
cd out
zip ..\..\..\wxWidgets-x.y.z-docs-chm.zip wx.chm
5. This step also must be done under Windows as it uses Inno Setup to produce
the .exe file and it also requires the CHM file built above:
md x.y.z-sources
cd x.y.z-sources
7z x ..\wxWidgets-x.y.z.7z
md docs\htmlhelp
cp ..\docs\doxygen\out\wx.chm docs\htmlhelp
set WXW_VER=x.y.z
iscc build\tools\wxwidgets.iss
Instructions for the previous version of release scripts
--------------------------------------------------------
NB: These scripts haven't been used since 2.8 series and may not work any longer!
Currently our release system uses a Python 2.x script to generate releases.
The script requires Unix utilities such as tar, zip and unix2dos and thus must
be run either on Unix or using Cygwin on Windows. To generate a release, simply
run the following command:
build/tools/create-archive.py --compression=all /path/to/output/dir
This will produce zip, gzip and bzip archives of the tree (without
"compression" argument only .gz is made). Note that this commands produces huge
amounts of output so redirecting it to a file is recommended.
To add a prefix to the release, such as RC1, the SVN revision, or a date, just
pass --postfix="postfix" to the script. More info on the options and their
possible values can be found by calling `create-archive.py --help`.
IMPORTANT NOTE: You *must* run this script from a clean source tree, that is,
with no junk files in it or modifications. This is because the
release should be a pristine copy of the tree as of the time of
release. If you have legitimate modifications in the tree that need
to be in the release, commit them first.
To generate the windows installer (.exe) and the documentation files (chm and htb formats)
run:
build\tools\bld_chm_exe.bat
which depends on the wxwidgets.iss file, and generates output in the %DAILY% directory. It
assumes a clean copy of the wxWidgets source tree in %INNO%. Temporary files will be generated
in the tree from which the batch file is run. It depends on doxygen, a number of gnu
win32 tools and Microsofts htmlhelp compiler. The wxwidgets.iss file should not need
editing, but you will want to check that the bld_chm_exe.bat has the correct version number.
4. Copy these Windows packages back to your Linux or OSX `distrib/release/x.y.z`
directory so you can continue with the upload step with all packages
available:
```
wxMSW-x.y.z-Setup.exe
wxWidgets-x.y.z.chm
```
Uploading Uploading
--------- ---------
@@ -144,21 +99,27 @@ Create http://docs.wxwidgets.org/x.y.z/ (ask Bryan to do it if not done yet).
Announcement Announcement
------------ ------------
Post docs/publicity/announce.txt at least to wx-announce@googlegroups.com. Update https://www.wxwidgets.org, usually a news item is enough but something
more can be called for for major releases.
Submit a link to http://www.reddit.com/r/programming Post `docs/publicity/announce.txt` at least to wx-announce@googlegroups.com and
to wx-users for the important releases.
For major releases, submit the announcement to http://slashdot.org/submission Submit a link to https://www.reddit.com/r/programming
Update www.wxwidgets.org, usually a news item is enough but something more can Submit to https://isocpp.org/blog/suggest
be called for for major releases.
Also update downloads/index.html to mention the new latest release. For major releases, submit the announcement to https://slashdot.org/submission
Modify the links at downloads/index.html to point to the new release. Also
update the release date on this page.
Also update docs/index.html for the minor or major (i.e. not micro) releases.
Post to wxBlog if necessary. Post to wxBlog if necessary.
Announce on Google+/Twitter/whatever the person doing the release prefers (we Create a new post on our official Google+ page here:
don't have "official" wxWidgets account, should we?). https://plus.google.com/+wxwidgets/ (contact Bryan for access)
Version updates Version updates

View File

@@ -63,6 +63,8 @@
#define wxCOMPILER_PREFIX vc110 #define wxCOMPILER_PREFIX vc110
#elif _MSC_VER == 1800 #elif _MSC_VER == 1800
#define wxCOMPILER_PREFIX vc120 #define wxCOMPILER_PREFIX vc120
#elif _MSC_VER == 1900
#define wxCOMPILER_PREFIX vc140
#else #else
#error "Unknown MSVC compiler version, please report to wx-dev." #error "Unknown MSVC compiler version, please report to wx-dev."
#endif #endif

View File

@@ -164,13 +164,17 @@ private:
public: \ public: \
static bool IsSameClass(const wxAnyValueType* otherType) \ static bool IsSameClass(const wxAnyValueType* otherType) \
{ \ { \
return wxTypeId(*sm_instance.get()) == wxTypeId(*otherType); \ return AreSameClasses(*sm_instance.get(), *otherType); \
} \ } \
virtual bool IsSameType(const wxAnyValueType* otherType) const \ virtual bool IsSameType(const wxAnyValueType* otherType) const \
{ \ { \
return IsSameClass(otherType); \ return IsSameClass(otherType); \
} \ } \
private: \ private: \
static bool AreSameClasses(const wxAnyValueType& a, const wxAnyValueType& b) \
{ \
return wxTypeId(a) == wxTypeId(b); \
} \
static wxAnyValueTypeScopedPtr sm_instance; \ static wxAnyValueTypeScopedPtr sm_instance; \
public: \ public: \
static wxAnyValueType* GetInstance() \ static wxAnyValueType* GetInstance() \

View File

@@ -51,9 +51,11 @@ public:
if ( !m_argsA ) if ( !m_argsA )
{ {
const size_t count = m_args.size(); const size_t count = m_args.size();
m_argsA = new char *[count]; m_argsA = new char *[count + 1];
for ( size_t n = 0; n < count; n++ ) for ( size_t n = 0; n < count; n++ )
m_argsA[n] = wxStrdup(m_args[n].ToAscii()); m_argsA[n] = wxStrdup(m_args[n].ToAscii());
m_argsA[count] = NULL;
} }
return m_argsA; return m_argsA;
@@ -64,9 +66,11 @@ public:
if ( !m_argsW ) if ( !m_argsW )
{ {
const size_t count = m_args.size(); const size_t count = m_args.size();
m_argsW = new wchar_t *[count]; m_argsW = new wchar_t *[count + 1];
for ( size_t n = 0; n < count; n++ ) for ( size_t n = 0; n < count; n++ )
m_argsW[n] = wxStrdup(m_args[n].wc_str()); m_argsW[n] = wxStrdup(m_args[n].wc_str());
m_argsW[count] = NULL;
} }
return m_argsW; return m_argsW;

View File

@@ -53,7 +53,14 @@
# define __VISUALC11__ # define __VISUALC11__
#elif __VISUALC__ < 1900 #elif __VISUALC__ < 1900
# define __VISUALC12__ # define __VISUALC12__
#elif __VISUALC__ < 2000
/* There is no __VISUALC13__! */
# define __VISUALC14__
#else #else
/*
Don't forget to update include/msvc/wx/setup.h as well when adding
support for a newer MSVC version here.
*/
# pragma message("Please update wx/compiler.h to recognize this VC++ version") # pragma message("Please update wx/compiler.h to recognize this VC++ version")
#endif #endif
@@ -102,7 +109,13 @@
# define wxVISUALC_VERSION(major) 0 # define wxVISUALC_VERSION(major) 0
# define wxCHECK_VISUALC_VERSION(major) 0 # define wxCHECK_VISUALC_VERSION(major) 0
#else #else
# define wxVISUALC_VERSION(major) ( (6 + major) * 100 ) /*
Things used to be simple with the _MSC_VER value and the version number
increasing in lock step, but _MSC_VER value of 1900 is VC14 and not the
non existing (presumably for the superstitious reasons) VC13, so we now
need to account for this with an extra offset.
*/
# define wxVISUALC_VERSION(major) ( (6 + (major >= 14 ? 1 : 0) + major) * 100 )
# define wxCHECK_VISUALC_VERSION(major) ( __VISUALC__ >= wxVISUALC_VERSION(major) ) # define wxCHECK_VISUALC_VERSION(major) ( __VISUALC__ >= wxVISUALC_VERSION(major) )
#endif #endif

View File

@@ -276,6 +276,19 @@ typedef short int WXTYPE;
#define wxEXPLICIT #define wxEXPLICIT
#endif /* HAVE_EXPLICIT/!HAVE_EXPLICIT */ #endif /* HAVE_EXPLICIT/!HAVE_EXPLICIT */
/* wxFALLTHROUGH is used to notate explicit fallthroughs in switch statements */
#ifdef __cplusplus
#if __cplusplus >= 201103L && defined(__has_warning)
#if WX_HAS_CLANG_FEATURE(cxx_attributes)
#define wxFALLTHROUGH [[clang::fallthrough]]
#endif
#endif
#endif /* __cplusplus */
#ifndef wxFALLTHROUGH
#define wxFALLTHROUGH ((void)0)
#endif
/* these macros are obsolete, use the standard C++ casts directly now */ /* these macros are obsolete, use the standard C++ casts directly now */
#define wx_static_cast(t, x) static_cast<t>(x) #define wx_static_cast(t, x) static_cast<t>(x)
#define wx_const_cast(t, x) const_cast<t>(x) #define wx_const_cast(t, x) const_cast<t>(x)
@@ -357,7 +370,21 @@ typedef short int WXTYPE;
#endif #endif
#endif #endif
#if defined(__has_include) /*
Check for C++11 compilers, it is important to do it before the
__has_include() checks because of g++ 4.9.2+ complications below.
*/
#if (defined(__cplusplus) && __cplusplus >= 201103L) || wxCHECK_VISUALC_VERSION(10)
#ifndef HAVE_TYPE_TRAITS
#define HAVE_TYPE_TRAITS
#endif
#ifndef HAVE_STD_UNORDERED_MAP
#define HAVE_STD_UNORDERED_MAP
#endif
#ifndef HAVE_STD_UNORDERED_SET
#define HAVE_STD_UNORDERED_SET
#endif
#elif defined(__has_include)
/* /*
Notice that we trust our configure tests more than __has_include(), Notice that we trust our configure tests more than __has_include(),
notably the latter can return true even if the header exists but isn't notably the latter can return true even if the header exists but isn't
@@ -365,8 +392,20 @@ typedef short int WXTYPE;
So if configure already detected at least one working alternative, So if configure already detected at least one working alternative,
just use it. just use it.
*/ */
/*
Since 4.9.2, g++ provides __has_include() but, unlike clang, refuses to
compile the C++11 headers in C++98 mode (and we are sure we use the
latter because we explicitly checked for C++11 above).
*/
#if defined(__GNUC__) && !defined(__clang__)
#define wx_has_cpp11_include(h) 0
#else
#define wx_has_cpp11_include(h) __has_include(h)
#endif
#if !defined(HAVE_TYPE_TRAITS) && !defined(HAVE_TR1_TYPE_TRAITS) #if !defined(HAVE_TYPE_TRAITS) && !defined(HAVE_TR1_TYPE_TRAITS)
#if __has_include(<type_traits>) #if wx_has_cpp11_include(<type_traits>)
#define HAVE_TYPE_TRAITS #define HAVE_TYPE_TRAITS
#elif __has_include(<tr1/type_traits>) #elif __has_include(<tr1/type_traits>)
#define HAVE_TR1_TYPE_TRAITS #define HAVE_TR1_TYPE_TRAITS
@@ -374,7 +413,7 @@ typedef short int WXTYPE;
#endif #endif
#if !defined(HAVE_STD_UNORDERED_MAP) && !defined(HAVE_TR1_UNORDERED_MAP) #if !defined(HAVE_STD_UNORDERED_MAP) && !defined(HAVE_TR1_UNORDERED_MAP)
#if __has_include(<unordered_map>) #if wx_has_cpp11_include(<unordered_map>)
#define HAVE_STD_UNORDERED_MAP #define HAVE_STD_UNORDERED_MAP
#elif __has_include(<tr1/unordered_map>) #elif __has_include(<tr1/unordered_map>)
#define HAVE_TR1_UNORDERED_MAP #define HAVE_TR1_UNORDERED_MAP
@@ -382,7 +421,7 @@ typedef short int WXTYPE;
#endif #endif
#if !defined(HAVE_STD_UNORDERED_SET) && !defined(HAVE_TR1_UNORDERED_SET) #if !defined(HAVE_STD_UNORDERED_SET) && !defined(HAVE_TR1_UNORDERED_SET)
#if __has_include(<unordered_set>) #if wx_has_cpp11_include(<unordered_set>)
#define HAVE_STD_UNORDERED_SET #define HAVE_STD_UNORDERED_SET
#elif __has_include(<tr1/unordered_set>) #elif __has_include(<tr1/unordered_set>)
#define HAVE_TR1_UNORDERED_SET #define HAVE_TR1_UNORDERED_SET
@@ -1787,7 +1826,12 @@ enum wxBorder
/* /*
* Window (Frame/dialog/subwindow/panel item) style flags * Window (Frame/dialog/subwindow/panel item) style flags
*/ */
#define wxVSCROLL 0x80000000
/* The cast is needed to avoid g++ -Wnarrowing warnings when initializing
* values of int type with wxVSCROLL on 32 bit platforms, where its value is
* greater than INT_MAX.
*/
#define wxVSCROLL ((int)0x80000000)
#define wxHSCROLL 0x40000000 #define wxHSCROLL 0x40000000
#define wxCAPTION 0x20000000 #define wxCAPTION 0x20000000
@@ -3169,14 +3213,22 @@ DECLARE_WXCOCOA_OBJC_CLASS(UIImage);
DECLARE_WXCOCOA_OBJC_CLASS(UIEvent); DECLARE_WXCOCOA_OBJC_CLASS(UIEvent);
DECLARE_WXCOCOA_OBJC_CLASS(NSSet); DECLARE_WXCOCOA_OBJC_CLASS(NSSet);
DECLARE_WXCOCOA_OBJC_CLASS(EAGLContext); DECLARE_WXCOCOA_OBJC_CLASS(EAGLContext);
DECLARE_WXCOCOA_OBJC_CLASS(UIWebView);
typedef WX_UIWindow WXWindow; typedef WX_UIWindow WXWindow;
typedef WX_UIView WXWidget; typedef WX_UIView WXWidget;
typedef WX_EAGLContext WXGLContext; typedef WX_EAGLContext WXGLContext;
typedef WX_NSString* WXGLPixelFormat; typedef WX_NSString* WXGLPixelFormat;
typedef WX_UIWebView OSXWebViewPtr;
#endif #endif
#if wxOSX_USE_COCOA_OR_CARBON
DECLARE_WXCOCOA_OBJC_CLASS(WebView);
typedef WX_WebView OSXWebViewPtr;
#endif
#endif /* __WXMAC__ */ #endif /* __WXMAC__ */
/* ABX: check __WIN32__ instead of __WXMSW__ for the same MSWBase in any Win32 port */ /* ABX: check __WIN32__ instead of __WXMSW__ for the same MSWBase in any Win32 port */

View File

@@ -11,6 +11,8 @@
#ifndef _WX_DIRDLG_H_BASE_ #ifndef _WX_DIRDLG_H_BASE_
#define _WX_DIRDLG_H_BASE_ #define _WX_DIRDLG_H_BASE_
#include "wx/defs.h"
#if wxUSE_DIRDLG #if wxUSE_DIRDLG
#include "wx/dialog.h" #include "wx/dialog.h"

View File

@@ -216,8 +216,22 @@ enum wxPosixPermissions
#define wxFtell _ftelli64 #define wxFtell _ftelli64
#elif wxCHECK_MINGW32_VERSION(3, 5) // mingw-runtime version (not gcc) #elif wxCHECK_MINGW32_VERSION(3, 5) // mingw-runtime version (not gcc)
#define wxHAS_HUGE_STDIO_FILES #define wxHAS_HUGE_STDIO_FILES
wxDECL_FOR_STRICT_MINGW32(int, fseeko64, (FILE*, long long, int));
#define wxFseek fseeko64 #define wxFseek fseeko64
#define wxFtell ftello64
#ifdef wxNEEDS_STRICT_ANSI_WORKAROUNDS
// Unfortunately ftello64() is not defined in the library for
// whatever reason but as an inline function, so define wxFtell()
// here similarly.
inline long long wxFtell(FILE* fp)
{
fpos_t pos;
return fgetpos(fp, &pos) == 0 ? pos : -1LL;
}
#else
#define wxFtell ftello64
#endif
#endif #endif
// other Windows compilers (DMC, Watcom, and Borland) don't have huge file // other Windows compilers (DMC, Watcom, and Borland) don't have huge file
@@ -376,7 +390,7 @@ enum wxPosixPermissions
// finally the default char-type versions // finally the default char-type versions
#if wxUSE_UNICODE #if wxUSE_UNICODE
#if wxUSE_UNICODE_MSLU || defined(__WX_STRICT_ANSI_GCC__) #if wxUSE_UNICODE_MSLU
// implement the missing file functions in Win9x ourselves // implement the missing file functions in Win9x ourselves
WXDLLIMPEXP_BASE int wxMSLU__wopen(const wxChar *name, WXDLLIMPEXP_BASE int wxMSLU__wopen(const wxChar *name,
int flags, int mode); int flags, int mode);
@@ -404,6 +418,9 @@ enum wxPosixPermissions
#define wxCRT_MkDir wxCRT_MkDirW #define wxCRT_MkDir wxCRT_MkDirW
#define wxCRT_RmDir wxCRT_RmDirW #define wxCRT_RmDir wxCRT_RmDirW
#define wxCRT_Stat wxCRT_StatW #define wxCRT_Stat wxCRT_StatW
wxDECL_FOR_STRICT_MINGW32(int, _wmkdir, (const wchar_t*))
wxDECL_FOR_STRICT_MINGW32(int, _wrmdir, (const wchar_t*))
#endif // wxUSE_UNICODE_MSLU/!wxUSE_UNICODE_MSLU #endif // wxUSE_UNICODE_MSLU/!wxUSE_UNICODE_MSLU
#else // !wxUSE_UNICODE #else // !wxUSE_UNICODE
#define wxCRT_Open wxCRT_OpenA #define wxCRT_Open wxCRT_OpenA

View File

@@ -227,6 +227,9 @@ public:
// init with the parameters of the given font // init with the parameters of the given font
void InitFromFont(const wxFont& font) void InitFromFont(const wxFont& font)
{ {
#if wxUSE_PANGO
Init(*font.GetNativeFontInfo());
#else
// translate all font parameters // translate all font parameters
SetStyle((wxFontStyle)font.GetStyle()); SetStyle((wxFontStyle)font.GetStyle());
SetWeight((wxFontWeight)font.GetWeight()); SetWeight((wxFontWeight)font.GetWeight());
@@ -252,6 +255,7 @@ public:
// deal with encoding now (it may override the font family and facename // deal with encoding now (it may override the font family and facename
// so do it after setting them) // so do it after setting them)
SetEncoding(font.GetEncoding()); SetEncoding(font.GetEncoding());
#endif // !wxUSE_PANGO
} }
// accessors and modifiers for the font elements // accessors and modifiers for the font elements

View File

@@ -179,6 +179,7 @@ private:
void OnPaint(wxPaintEvent& event); void OnPaint(wxPaintEvent& event);
void OnClick(wxMouseEvent& event); void OnClick(wxMouseEvent& event);
void OnDClick(wxMouseEvent& event); void OnDClick(wxMouseEvent& event);
void OnWheel(wxMouseEvent& event);
void OnChar(wxKeyEvent& event); void OnChar(wxKeyEvent& event);
void OnMonthChange(wxCommandEvent& event); void OnMonthChange(wxCommandEvent& event);

View File

@@ -863,6 +863,7 @@ private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
friend class wxGenericListCtrl; friend class wxGenericListCtrl;
friend class wxListCtrlMaxWidthCalculator;
}; };
#endif // wxUSE_LISTCTRL #endif // wxUSE_LISTCTRL

View File

@@ -0,0 +1,123 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/generic/private/widthcalc.h
// Purpose: wxMaxWidthCalculatorBase helper class.
// Author: Václav Slavík, Kinaou Hervé
// Copyright: (c) 2015 wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_PRIVATE_WIDTHCALC_H_
#define _WX_GENERIC_PRIVATE_WIDTHCALC_H_
#include "wx/defs.h"
#if wxUSE_DATAVIEWCTRL || wxUSE_LISTCTRL
#include "wx/log.h"
#include "wx/timer.h"
// ----------------------------------------------------------------------------
// wxMaxWidthCalculatorBase: base class for calculating max column width
// ----------------------------------------------------------------------------
class wxMaxWidthCalculatorBase
{
public:
// column of which calculate the width
explicit wxMaxWidthCalculatorBase(size_t column)
: m_column(column),
m_width(0)
{
}
void UpdateWithWidth(int width)
{
m_width = wxMax(m_width, width);
}
// Update the max with for the expected row
virtual void UpdateWithRow(int row) = 0;
int GetMaxWidth() const { return m_width; }
size_t GetColumn() const { return m_column; }
void
ComputeBestColumnWidth(size_t count,
size_t first_visible,
size_t last_visible)
{
// The code below deserves some explanation. For very large controls, we
// simply can't afford to calculate sizes for all items, it takes too
// long. So the best we can do is to check the first and the last N/2
// items in the control for some sufficiently large N and calculate best
// sizes from that. That can result in the calculated best width being too
// small for some outliers, but it's better to get slightly imperfect
// result than to wait several seconds after every update. To avoid highly
// visible miscalculations, we also include all currently visible items
// no matter what. Finally, the value of N is determined dynamically by
// measuring how much time we spent on the determining item widths so far.
#if wxUSE_STOPWATCH
size_t top_part_end = count;
static const long CALC_TIMEOUT = 20/*ms*/;
// don't call wxStopWatch::Time() too often
static const unsigned CALC_CHECK_FREQ = 100;
wxStopWatch timer;
#else
// use some hard-coded limit, that's the best we can do without timer
size_t top_part_end = wxMin(500, count);
#endif // wxUSE_STOPWATCH/!wxUSE_STOPWATCH
size_t row = 0;
for ( row = 0; row < top_part_end; row++ )
{
#if wxUSE_STOPWATCH
if ( row % CALC_CHECK_FREQ == CALC_CHECK_FREQ-1 &&
timer.Time() > CALC_TIMEOUT )
break;
#endif // wxUSE_STOPWATCH
UpdateWithRow(row);
}
// row is the first unmeasured item now; that's our value of N/2
if ( row < count )
{
top_part_end = row;
// add bottom N/2 items now:
const size_t bottom_part_start = wxMax(row, count - row);
for ( row = bottom_part_start; row < count; row++ )
{
UpdateWithRow(row);
}
// finally, include currently visible items in the calculation:
first_visible = wxMax(first_visible, top_part_end);
last_visible = wxMin(bottom_part_start, last_visible);
for ( row = first_visible; row < last_visible; row++ )
{
UpdateWithRow(row);
}
wxLogTrace("items container",
"determined best size from %zu top, %zu bottom "
"plus %zu more visible items out of %zu total",
top_part_end,
count - bottom_part_start,
wxMax(0, last_visible - first_visible),
count);
}
}
private:
const size_t m_column;
int m_width;
wxDECLARE_NO_COPY_CLASS(wxMaxWidthCalculatorBase);
};
#endif // wxUSE_DATAVIEWCTRL || wxUSE_LISTCTRL
#endif // _WX_GENERIC_PRIVATE_WIDTHCALC_H_

View File

@@ -109,7 +109,7 @@ public:
virtual wxWindow* GetContentWindow() const; virtual wxWindow* GetContentWindow() const;
// Set and get the inner sizer // Set and get the inner sizer
void SetInnerSize(wxSizer* sizer) { m_innerSizer = sizer; } void SetInnerSizer(wxSizer* sizer) { m_innerSizer = sizer; }
wxSizer* GetInnerSizer() const { return m_innerSizer ; } wxSizer* GetInnerSizer() const { return m_innerSizer ; }
// Set and get the book style // Set and get the book style

View File

@@ -48,7 +48,10 @@ enum
WX_GL_MIN_ACCUM_BLUE, // use blue buffer with most bits (> MIN_ACCUM_BLUE bits) WX_GL_MIN_ACCUM_BLUE, // use blue buffer with most bits (> MIN_ACCUM_BLUE bits)
WX_GL_MIN_ACCUM_ALPHA, // use alpha buffer with most bits (> MIN_ACCUM_ALPHA bits) WX_GL_MIN_ACCUM_ALPHA, // use alpha buffer with most bits (> MIN_ACCUM_ALPHA bits)
WX_GL_SAMPLE_BUFFERS, // 1 for multisampling support (antialiasing) WX_GL_SAMPLE_BUFFERS, // 1 for multisampling support (antialiasing)
WX_GL_SAMPLES // 4 for 2x2 antialiasing supersampling on most graphics cards WX_GL_SAMPLES, // 4 for 2x2 antialiasing supersampling on most graphics cards
WX_GL_CORE_PROFILE, // use an OpenGL core profile
WX_GL_MAJOR_VERSION, // major OpenGL version of the core profile
WX_GL_MINOR_VERSION // minor OpenGL version of the core profile
}; };
#define wxGLCanvasName wxT("GLCanvas") #define wxGLCanvasName wxT("GLCanvas")

View File

@@ -27,7 +27,7 @@ public:
wxApp(); wxApp();
virtual ~wxApp(); virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI /* override for altering the way wxGTK initializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
* default. when overriding this method, the code in it is likely to be * default. when overriding this method, the code in it is likely to be
* platform dependent, otherwise use OnInit(). */ * platform dependent, otherwise use OnInit(). */

View File

@@ -34,6 +34,10 @@ public:
virtual void EnableEllipsize(wxEllipsizeMode mode = wxELLIPSIZE_MIDDLE); virtual void EnableEllipsize(wxEllipsizeMode mode = wxELLIPSIZE_MIDDLE);
virtual wxEllipsizeMode GetEllipsizeMode() const; virtual wxEllipsizeMode GetEllipsizeMode() const;
#if wxABI_VERSION >= 30003
virtual bool FinishEditing();
#endif
// GTK-specific implementation // GTK-specific implementation
// --------------------------- // ---------------------------

View File

@@ -52,7 +52,7 @@ protected:
public: // used by the GTK callback only public: // used by the GTK callback only
void SetNativeFontInfo(const char *gtkdescription) void SetNativeFontInfo(const char *gtkdescription)
{ m_selectedFont.SetNativeFontInfo(wxString::FromAscii(gtkdescription)); } { m_selectedFont.SetNativeFontInfo(wxString::FromUTF8(gtkdescription)); }
private: private:
DECLARE_DYNAMIC_CLASS(wxFontButton) DECLARE_DYNAMIC_CLASS(wxFontButton)

View File

@@ -19,6 +19,7 @@
class WXDLLIMPEXP_ADV wxHyperlinkCtrl : public wxGenericHyperlinkCtrl class WXDLLIMPEXP_ADV wxHyperlinkCtrl : public wxGenericHyperlinkCtrl
{ {
typedef wxGenericHyperlinkCtrl base_type;
public: public:
// Default constructor (for two-step construction). // Default constructor (for two-step construction).
wxHyperlinkCtrl() { } wxHyperlinkCtrl() { }
@@ -35,6 +36,8 @@ public:
(void)Create(parent, id, label, url, pos, size, style, name); (void)Create(parent, id, label, url, pos, size, style, name);
} }
~wxHyperlinkCtrl();
// Creation function (for two-step construction). // Creation function (for two-step construction).
bool Create(wxWindow *parent, bool Create(wxWindow *parent,
wxWindowID id, wxWindowID id,
@@ -58,6 +61,9 @@ public:
virtual wxString GetURL() const; virtual wxString GetURL() const;
virtual void SetURL(const wxString &url); virtual void SetURL(const wxString &url);
virtual void SetVisited(bool visited = true);
virtual bool GetVisited() const;
virtual void SetLabel(const wxString &label); virtual void SetLabel(const wxString &label);
protected: protected:

View File

@@ -194,7 +194,7 @@ public:
void SetPrintConfig( GtkPrintSettings * config ); void SetPrintConfig( GtkPrintSettings * config );
GtkPrintOperation* GetPrintJob() { return m_job; } GtkPrintOperation* GetPrintJob() { return m_job; }
void SetPrintJob(GtkPrintOperation *job) { m_job = job; } void SetPrintJob(GtkPrintOperation *job);
GtkPrintContext *GetPrintContext() { return m_context; } GtkPrintContext *GetPrintContext() { return m_context; }
void SetPrintContext(GtkPrintContext *context) {m_context = context; } void SetPrintContext(GtkPrintContext *context) {m_context = context; }

View File

@@ -193,6 +193,13 @@ static inline void wx_gtk_cell_renderer_get_padding(GtkCellRenderer* cell, gint*
} }
#define gtk_cell_renderer_get_padding wx_gtk_cell_renderer_get_padding #define gtk_cell_renderer_get_padding wx_gtk_cell_renderer_get_padding
static inline void wx_gtk_cell_renderer_set_padding(GtkCellRenderer* cell, gint xpad, gint ypad)
{
cell->xpad = xpad;
cell->ypad = ypad;
}
#define gtk_cell_renderer_set_padding wx_gtk_cell_renderer_set_padding
static inline void wx_gtk_widget_get_allocation(GtkWidget* widget, GtkAllocation* allocation) static inline void wx_gtk_widget_get_allocation(GtkWidget* widget, GtkAllocation* allocation)
{ {
*allocation = widget->allocation; *allocation = widget->allocation;
@@ -517,5 +524,9 @@ static inline void wx_gtk_widget_get_preferred_size(GtkWidget* widget, GtkRequis
} }
#define gtk_widget_get_preferred_size wx_gtk_widget_get_preferred_size #define gtk_widget_get_preferred_size wx_gtk_widget_get_preferred_size
// There is no equivalent in GTK+ 2, but it's not needed there anyhow as the
// backend is determined at compile time in that version.
#define GDK_IS_X11_DISPLAY(dpy) true
#endif // !__WXGTK3__ #endif // !__WXGTK3__
#endif // _WX_GTK_PRIVATE_COMPAT_H_ #endif // _WX_GTK_PRIVATE_COMPAT_H_

View File

@@ -0,0 +1,35 @@
///////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/private/gtk3-compat.h
// Purpose: Compatibility code for older GTK+ 3 versions
// Author: Paul Cornett
// Created: 2015-10-10
// Copyright: (c) 2015 Paul Cornett
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_PRIVATE_COMPAT3_H_
#define _WX_GTK_PRIVATE_COMPAT3_H_
#if defined(__WXGTK3__)
wxGCC_WARNING_SUPPRESS(deprecated-declarations)
// ----------------------------------------------------------------------------
// the following were introduced in GTK+ 3.12
static inline void wx_gtk_widget_set_margin_start(GtkWidget* widget, gint margin)
{
gtk_widget_set_margin_left(widget, margin);
}
#define gtk_widget_set_margin_start wx_gtk_widget_set_margin_start
static inline void wx_gtk_widget_set_margin_end(GtkWidget* widget, gint margin)
{
gtk_widget_set_margin_right(widget, margin);
}
#define gtk_widget_set_margin_end wx_gtk_widget_set_margin_end
wxGCC_WARNING_RESTORE()
#endif // __WXGTK3__
#endif // _WX_GTK_PRIVATE_COMPAT3_H_

View File

@@ -62,6 +62,7 @@ public:
virtual void Lower(); virtual void Lower();
virtual bool Show( bool show = true ); virtual bool Show( bool show = true );
virtual bool IsShown() const;
virtual bool IsRetained() const; virtual bool IsRetained() const;
@@ -185,6 +186,7 @@ public:
// This is called when capture is taken from the window. It will // This is called when capture is taken from the window. It will
// fire off capture lost events. // fire off capture lost events.
void GTKReleaseMouseAndNotify(); void GTKReleaseMouseAndNotify();
static void GTKHandleCaptureLost();
GdkWindow* GTKGetDrawingWindow() const; GdkWindow* GTKGetDrawingWindow() const;
@@ -374,6 +376,7 @@ protected:
virtual void DoFreeze(); virtual void DoFreeze();
virtual void DoThaw(); virtual void DoThaw();
void GTKConnectFreezeWidget(GtkWidget* widget);
void GTKFreezeWidget(GtkWidget *w); void GTKFreezeWidget(GtkWidget *w);
void GTKThawWidget(GtkWidget *w); void GTKThawWidget(GtkWidget *w);
void GTKDisconnect(void* instance); void GTKDisconnect(void* instance);

View File

@@ -32,7 +32,7 @@ public:
wxApp(); wxApp();
virtual ~wxApp(); virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI /* override for altering the way wxGTK initializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
* default. when overriding this method, the code in it is likely to be * default. when overriding this method, the code in it is likely to be
* platform dependent, otherwise use OnInit(). */ * platform dependent, otherwise use OnInit(). */

View File

@@ -18,7 +18,6 @@
#endif #endif
#include "wx/control.h" #include "wx/control.h"
DECLARE_WXCOCOA_OBJC_CLASS(WebView);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Web Kit Control // Web Kit Control
@@ -107,7 +106,7 @@ private:
wxString m_currentURL; wxString m_currentURL;
wxString m_pageTitle; wxString m_pageTitle;
WX_WebView m_webView; OSXWebViewPtr m_webView;
// we may use this later to setup our own mouse events, // we may use this later to setup our own mouse events,
// so leave it in for now. // so leave it in for now.

Some files were not shown because too many files have changed in this diff Show More