Vadim Zeitlin
51d715e46d
Add wxPowerResourceBlocker for power management.
...
Add functions to acquire/release power resources, preventing/allowing back the
system to go to sleep or turn off the screen and a class wrapping them in a
safe way.
This patch implements the functions for MSW and OSX, adds documentation and
updates the sample to demonstrate the new functionality.
Closes #16413 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-29 23:22:15 +00:00
Vadim Zeitlin
f01e6a7efd
Rebake MSW makefiles properly after wxQt merge.
...
Somehow the makefiles contained references to a non-existing
src/common/textdlg.cpp, fix this by rebaking them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-25 17:47:44 +00:00
Vadim Zeitlin
df13791078
Merge wxQT branch into the trunk.
...
This merges in the latest sources from GSoC 2014 wxQt project with just a few
minor corrections, mostly undoing wrong changes to common files in that branch
(results of a previous bad merge?) and getting rid of whitespace-only changes.
Also remove debug logging from wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-24 01:50:11 +00:00
Vadim Zeitlin
21da20d579
Restore dynamic linking of GDI functions for non-MSVC.
...
This partially reverts the changes of r77029 and r77039: now functions such as
Set/GetLayout(), AlphaBlend() and GradientFill() are still called (almost)
directly when using MSVC but pass by dynamic loading with the other compilers,
which don't have #pragma comment(lib) and, in MinGW case, also lack some of
these functions in their libraries even if we do link with them.
Closes #16411 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-14 12:11:39 +00:00
Stefan Csomor
22f1f3e8ec
updated multi-lib project file with naming close to Makefile convention
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 16:27:21 +00:00
Stefan Csomor
fe28a8aa66
updated AppleScript for multilib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 16:25:55 +00:00
Stefan Csomor
f6ce35d047
naming closer to Makefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:52:00 +00:00
Stefan Csomor
0b76c263d2
naming closer to Makefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:51:14 +00:00
Stefan Csomor
da934c9df4
new separate config file for base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:50:11 +00:00
Stefan Csomor
7181e98545
multi-lib cocoa project
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:06:03 +00:00
Stefan Csomor
5bd081a1c7
multi-lib template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:05:42 +00:00
Stefan Csomor
2c8ef91312
preproc changed for multi-lib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 15:03:54 +00:00
Stefan Csomor
10740f2f67
multi-lib configs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-11 09:30:50 +00:00
Stefan Csomor
166bda1505
preparing for multi-lib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-10 17:15:09 +00:00
Stefan Csomor
7c13d6bfe3
no filepath subgroups in xcode projects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-10 15:43:59 +00:00
Stefan Csomor
f1d2aa8067
get rid of execute.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-10 14:45:46 +00:00
Stefan Csomor
bcb75de8aa
updated files without glgrab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 20:23:36 +00:00
Stefan Csomor
808bf597df
updated files without glgrab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 20:16:35 +00:00
Stefan Csomor
c761631a3b
updated files without glgrab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 18:50:37 +00:00
Vadim Zeitlin
afdb989e87
Link wxMSW with msimg32.lib now that AlphaBlend() is used statically.
...
Implicitly link msimg32.lib in when using MSVC and add it to MinGW (and
Borland) makefiles.
This should have been part of r77029.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 18:03:23 +00:00
Vadim Zeitlin
7e6515e1ad
Remove the files remaining from project-specific MSVS solutions.
...
These files are not used any more since r77008, there is only wx_setup.props
now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-07 21:06:55 +00:00
Vadim Zeitlin
5f9bd3678f
Add XRC handler for wxSimplebook.
...
Similar to wxNotebook but even simpler as wxSimplebook doesn't use images.
Also add wxSimplebook::Create() as the version inherited from wxBookCtrlBase
didn't _quite_ work: we need to add wxBK_TOP style to prevent asserts due to
unknown alignment in the base class when creating wxSimplebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-05 22:01:52 +00:00
Vadim Zeitlin
5575cc59c2
Remove wx/unix/execute.h from the master list of files too.
...
This should have been part of r76683.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-05 22:01:45 +00:00
Vadim Zeitlin
946fbf4d14
Use the same project files for all MSBuild-based MSVS versions.
...
Get rid of version-specific MSVS project files, we can reuse the same projects
for all MSBuild-based versions, i.e. 2010, 2011 and 2013.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-05 22:01:41 +00:00
Stefan Csomor
5d11b53ddb
mediactrl for ios
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-15 19:52:32 +00:00
Stefan Csomor
4cbf03f4ec
trying xcrun notation for sdk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-14 18:38:25 +00:00
Stefan Csomor
e144fe614c
adding standard options for OS compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-14 16:27:01 +00:00
Stefan Csomor
7da8c0e080
trial build with special warnings ON
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-14 13:57:44 +00:00
Vadim Zeitlin
de291b2be1
Shorten wxOSX builds labels.
...
Too long labels made some of the buildbot tables quite unreadable, so shorten
them to something more reasonable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-14 11:38:18 +00:00
Stefan Csomor
0515b6e30d
adding separate trunk fir c++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-14 09:37:04 +00:00
Stefan Csomor
e8dc944da9
making choice of libcppunit explicit, no system installed version anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-07 14:21:14 +00:00
Stefan Csomor
121229b115
adding ios build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 14:58:10 +00:00
Stefan Csomor
dc80770bd3
reverting name changes, doesn't seem to get reflected w/o restart
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 08:10:21 +00:00
Stefan Csomor
ae559580b0
building trunk with libc++ adjusting cppunit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-06 08:02:46 +00:00
Stefan Csomor
b047233fe3
adding carbon option and sdk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:30:36 +00:00
Stefan Csomor
6fedbe036d
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:14:03 +00:00
Stefan Csomor
3c39de1e8a
add sdk again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:08:08 +00:00
Stefan Csomor
fa424608e1
change quoting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:04:57 +00:00
Stefan Csomor
c9d5751812
change quoting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:03:27 +00:00
Stefan Csomor
a83ae40967
adding flags, LDFLAGS need architecture as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 19:00:08 +00:00
Stefan Csomor
bb976fe04e
next try
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:22:01 +00:00
Stefan Csomor
823606f42e
next try
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:21:02 +00:00
Stefan Csomor
21de919394
next try
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:20:21 +00:00
Stefan Csomor
ceeba66331
xml error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:19:35 +00:00
Stefan Csomor
8452d8b56b
switching attributes, spaces got eliminated to aggressively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 18:17:34 +00:00
Stefan Csomor
5545427f42
adding builds for stable branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 16:44:56 +00:00
Stefan Csomor
8e72de187e
attempt at using variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 16:13:07 +00:00
Stefan Csomor
22ee0cf589
clang and ccache warnings suppression also for .mm files, turn off other builds temporarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 15:15:24 +00:00
Stefan Csomor
3b9a328662
clang warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 14:37:11 +00:00
Stefan Csomor
fa6beb56ab
trying to tune ccache and clang cooperation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-05 14:13:12 +00:00