Vadim Zeitlin
98fbab9e7b
Refactor owner-drawing code.
...
Only keep common code in the base class and extract all menu/listbox-specific
stuff into derived classes.
This makes the code cleaner and more maintainable but introduces some problems
in wxCheckListBox appearance which will be fixed by the next patch.
Closes #10635 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-23 13:21:12 +00:00
Kevin Ollivier
da8b1d4b3b
Rebake from clean wx tree.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-04 00:45:45 +00:00
Vadim Zeitlin
94b6ce7f4b
Use X64 machine type for MSVC linker instead of old AMD64.
...
The officially supported machine type name is X64 now, even if AMD64 is still
supported.
Closes #10711 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 16:36:37 +00:00
Vadim Zeitlin
589d208299
Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff.
...
Defining lfind as _lfind is not enough and a warning C4996 is still generated
by MSVC9 when the function is called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-01 00:43:15 +00:00
Vadim Zeitlin
41c89b9107
Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC.
...
Avoid dozens of warnings about "unsafe" use of the standard C library
functions in 3rd party code which are harmless and which we don't care about
in any case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-01 00:42:19 +00:00
Kevin Ollivier
f82b7036e8
Rebake after last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-18 19:22:58 +00:00
Vadim Zeitlin
eaae3ee7d7
No changes, just regenerated with bakefile 0.2.8.
...
There are no changes in this file except for the version of bakefile in the
header comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-09 01:57:33 +00:00
Vadim Zeitlin
8c9833d09e
Rebaked using post-0.2.7 svn version of bakefile.
...
Unfortunately 0.2.7 release contained a bug in msvc backend which resulted in
warnings generated for each file compiled. Apply the fix from bakefile svn to
fix this (and test if no other problems are found).
Also update all makefile.unx after changes of r62477.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-23 17:48:21 +00:00
Vadim Zeitlin
7880889720
Rebake everything using bakefile 0.2.7.
...
Also updated aclocal inputs and regenerated configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 16:53:10 +00:00
Vadim Zeitlin
6b8ef0b35d
Merge SOC2009_FSWATCHER branch into trunk.
...
Merges everything from the branch with only some minor changes, mostly renamed
wxUSE_FSWATCHER_{INOTIFY,KQUEUE} to wxHAS_{INOTIFY,KQUEUE}.
Add wxFileSystemWatcher and related classes.
Also introduces wxEventLoopSource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 11:35:43 +00:00
Kevin Ollivier
d5e7ffcf7a
Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 04:07:02 +00:00
Vadim Zeitlin
8ea1300ff5
Rebake using pre-release version of bakefile 0.2.7.
...
They should fix the problem with monolithic build of wx (see #11231 ).
Notice that trivial changes to VC9 project files are not being committed so
the makefiles are currently not quite consistent but it shouldn't matter as
they will be all regenerated soon when bakefile 0.2.7 is really released.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:58:26 +00:00
Vadim Zeitlin
a92b5dfe8c
Initial wxInfoBar implementation.
...
Add generic implementation, documentation and examples showing the use of the
new class in the samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:54:13 +00:00
Vadim Zeitlin
d4295ad159
Add ribbon libraries sources to the monolithic build.
...
Closes #11231 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 13:16:53 +00:00
Jaakko Salli
178c77606f
wxAny initial commit ( closes #10932 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-19 08:51:11 +00:00
Vadim Zeitlin
9dab58b103
Define NDEBUG when building 3rd party libraries.
...
We are not interested in asserts in 3rd party libraries so make them disappear
by defining NDEBUG when building them.
Closes #11155 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-18 16:15:54 +00:00
Vadim Zeitlin
d33ccbe15c
Rebaked everything with bakefile 0.2.6 after wxRibbon merge.
...
0.2.5 versions of some makefiles were checked in, regenerate them using 0.2.6.
Also regenerate configure after autoconf_inc.m4 was updated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 13:07:10 +00:00
Peter Cawley
3c3ead1d15
Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 12:06:02 +00:00
Vadim Zeitlin
c6684d425d
Use "d" suffix according to DEBUG_RUNTIME_LIBS, not DEBUG_FLAG.
...
The "d" suffix is now only used under Windows and indicates that we link with
debug CRT version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 11:29:11 +00:00
Vadim Zeitlin
f3239c2118
updated the version to 2.9.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:53 +00:00
Vadim Zeitlin
0d14e4f21d
added XRC handler for wxFileCtrl ( closes #10785 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
adcda299c0
added wxEditbaleListBox XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
Vadim Zeitlin
671683c445
enable OpenGL library build by default under Windows too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 12:55:11 +00:00
Vadim Zeitlin
24f618eea6
allow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make ( closes #10832 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:12:20 +00:00
Vadim Zeitlin
fa245b25f2
wxActiveX files are low level as there is no wxUniv equivalent for this functionality ( closes #10786 as this resulted in link errors when building wxMedia/Univ before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 08:59:57 +00:00
Vadim Zeitlin
72a7c55982
added wxStd{In,Out}putStream classes ( closes #10637 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:29:33 +00:00
Vadim Zeitlin
bca8c756a3
added wxMouseEventsManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:52:33 +00:00
Chris Elliott
95ff11c4bb
update bakefile to 0.2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 10:36:24 +00:00
Francesco Montorsi
98919134f0
no real changes: split the huge datetime.cpp in two parts: one dedicated to code for formatting/parsing, the other for everything else
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:16:21 +00:00
Vadim Zeitlin
5d2d4a2ef2
move generic animation sources to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR to avoid having duplicated entries in wxMSW/Univ build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 10:02:48 +00:00
Vadim Zeitlin
0fa541e870
add support for persistent controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Jaakko Salli
fef4b46dc7
Added XRC handler for wxComboCtrl ( closes #10151 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 16:00:32 +00:00
Vadim Zeitlin
ab37ac7075
rebake without persistence files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 09:23:10 +00:00
Vadim Zeitlin
dca9410337
fix wxEVT_SPIN_XXX definitions in a nicer (compatible with new events) way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 00:30:41 +00:00
Vadim Zeitlin
213b5041fe
export wxActiveX stuff from core (not media) DLL ( closes #8991 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:44:16 +00:00
Vadim Zeitlin
b44f5137ce
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build ( #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Francesco Montorsi
29efc6e4a4
split wxGrid implementation in grideditors.cpp (for wxGridCellEditor-derived classes), gridctrl.cpp (for wxGridCellRenderer-derived classes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 15:49:37 +00:00
Francesco Montorsi
030e991d1c
remove deprecated wxTabCtrl also from makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 15:26:22 +00:00
Vadim Zeitlin
116de99148
merge msw/gsocket.cpp into msw/sockmsw.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 19:12:43 +00:00
Vadim Zeitlin
bb20575e6e
rename gsockmsw files to sockmsw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 18:41:13 +00:00
Vadim Zeitlin
af67f39da8
added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 23:56:56 +00:00
Vadim Zeitlin
e2bfe6731e
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
...
number of columns in it, it turns out that getting column information from
the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
events are broken right now in it as they haven't been implemented by
wxHeaderCtrl yet, this will be fixed a.s.a.p.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Vadim Zeitlin
56873923f3
extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Václav Slavík
a158acac6d
Cleaned up wxArtProvider:
...
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
it returns wxDefaultSize if it can't make a good guess instead of
returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
'natural' size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:07:42 +00:00
Vadim Zeitlin
916eabe60e
add wxGenericStaticText ( #9656 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Vadim Zeitlin
8ece421c6c
rebaked makefiles with 0.2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:44:49 +00:00
Vadim Zeitlin
1c4293cb91
added wxPropertyGrid from Jaakko Salli ( #9934 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Kevin Ollivier
509f339a81
rebake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:57:32 +00:00