Vadim Zeitlin
b5887a837d
vsnprintf() tests correction: check that declaration is const-correct; merged the Metrowerks test with the one for the other compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:20:16 +00:00
Vadim Zeitlin
d66943923d
use -threads with gcc under HP-UX instead of -pthread
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:12:24 +00:00
Vadim Zeitlin
be30c667ed
only define __STDC_EXT__ in CXXFLAGS for gcc under HP-UX, it's already present in CFLAGS by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:10:12 +00:00
Vadim Zeitlin
472e73db81
don't forget to modify include/msvc/wx/setup.h and include/wx/msw/chkconf.h when adding a new library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:32:07 +00:00
Vadim Zeitlin
14a3591de2
added wxmsw26_media library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:29:51 +00:00
Vadim Zeitlin
3c232ecbaf
link unicows.lib implicitely when using MSVC and wxUSE_UNICODE_MSLU==1 (thi is used in DLL wx builds)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:23:23 +00:00
Vadim Zeitlin
9eeab5fa9d
link unicows.lib automatically (and in correct order) if wxUSE_UNICODE_MSLU==1 (this is for the application and is mainly needed when using static wx libs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:15:44 +00:00
Vadim Zeitlin
6f2df739f4
check whether unicows.dll works correctly instead of just crashing if we linked it in wrong order (i.e. not before wx libs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:10:24 +00:00
Vadim Zeitlin
69c54afe21
check for unicows.dll on program starup when wxUSE_UNICODE_MSLU==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 16:47:25 +00:00
Stefan Csomor
5e8c9935fd
workaround because regions that were built up, were sometimes being drawn on the screen as well...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 16:29:09 +00:00
Michael Wetherell
f2555abd7a
Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Michael Wetherell
938ad7687f
Document the current behaviour of OnDestroy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:45:11 +00:00
Michael Wetherell
eb76ad0b3b
Remove duplicate code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:24:38 +00:00
Mattia Barbon
6ace5176f6
Use default GUI font for wxMessageDialog and wxFileDialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 10:00:23 +00:00
Jouk Jansen
cb542c35fa
Committing in .
...
Some updates for OpenVMS compile support
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/motif/gauge.cpp
wxWidgets/src/motif/xmcombo/xmcombo.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 08:14:05 +00:00
Stefan Csomor
92b6cd6289
avoiding recursive KillEvents on the same object, in case the focus gets set to another element in the OnKillEvent Handler ...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 06:46:30 +00:00
Vadim Zeitlin
a351409ef2
compilation fix for wxUnivGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 22:16:52 +00:00
Vadim Zeitlin
81e2cbc685
fixed (harmless) unused variable warning in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 21:10:24 +00:00
Vadim Zeitlin
e822273ae0
__WXDEBUG__ must be tested with #ifdef, not #if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 21:03:41 +00:00
Michael Wetherell
f43dc7d3f8
Fix mbstate_t from <cwchar> conflicting with that from <wchar.h> on HP-UX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 19:58:56 +00:00
Michael Wetherell
c1ce4db1de
wcslen and wcscmp replacements for systems that lack them, such as djgpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 11:40:40 +00:00
Michael Wetherell
a3c0d7684a
Implementations for some of the stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 10:52:10 +00:00
Jouk Jansen
f22d860b26
Committing in .
...
Updated configuration for OpenVMS
Modified Files:
wxWidgets/setup.h_vms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 07:46:37 +00:00
Mattia Barbon
b0b2263b50
Fix the condition to always #define wxMOTIF_NEW_FONT_HANDLING
...
(currently always defined to 0 for safety).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 00:41:18 +00:00
Mattia Barbon
8c624a14ad
Avoid some -Wundef warning. Check for __WXGTK__ using defined,
...
not plain #if.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 00:35:02 +00:00
Vadim Zeitlin
ce52988a85
tentative fix for large files compilation under HP-UX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 23:13:53 +00:00
Mart Raudsepp
e38bddf552
Specify that "Backward compatibility" is a topic overview in the manual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 21:58:47 +00:00
Mart Raudsepp
f26623c817
[wxGTK2] gtk+-2.8.0 compatibility. Removed the usage of pango_x_get_context to not depend on a fully deprecated
...
pangox library, which is not pulled in with gtk+-2.8.0. The pango_x_get_context call was (arguably) making font
drawing on top of a wxDC slightly faster on (especially remote) X11 in case of non-antialiased fonts (I was unable to
find a non-antialiased font that actually returns true for GetNoAntiAliasing()).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 21:40:44 +00:00
Vadim Zeitlin
befb44cf2e
added GetCurrentSelection() which is the same as GetSelection() for Mac but needed for compatibility with the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:24:28 +00:00
Vadim Zeitlin
40eb3606eb
added GetCurrentSelection(); made GetSelection() behave as documented (and not as before); don't send TEXT_UPDATED events until the combobox is closed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 14:22:41 +00:00
Vadim Zeitlin
bb8051f2fd
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:47:35 +00:00
Vadim Zeitlin
6ba93d23bf
made wxChoice and wxComboBox::GetSelection() return only completed selection in wxMSW; added GetCurrentSelection() with the old behaviour and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:30:33 +00:00
Vadim Zeitlin
d6bbc10c94
also added a check of choice selection in idle time (similar to last check in for combobox)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:13:42 +00:00
Vadim Zeitlin
644e896d3f
don't take wxID_NONE inside #if wxABI_VERSION check: it's (going to be) used inside the library itself and, anyhow, there is no harm in letting even the user code compiled with lower than current wxABI_VERSION to see it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 12:56:21 +00:00
Jouk Jansen
51c742ddf8
Committing in .
...
Solves link problem of wxMOTIF on OpenVMS
Modified Files:
wxWidgets/include/wx/vms_x_fix.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 06:55:33 +00:00
David Elliott
3e4ca115f5
Upgrade to newest bakefile.m4 to support non-PowerPC Darwin platforms.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 02:09:42 +00:00
David Elliott
cfda0ea87b
Allow wxWidgets to be built hosted on any architecture of Darwin.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 00:56:55 +00:00
Vadim Zeitlin
dec48aa578
hacked around wxGTK wxStaticText which doesn't derive from wxStaticTextBase (argh): declare and define Wrap() directly in wxStaticText for this port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 00:01:35 +00:00
Vadim Zeitlin
98fe5d46bd
added newsince note
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 23:55:05 +00:00
Vadim Zeitlin
0db7dfb021
avoid gcc warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 23:52:39 +00:00
Vadim Zeitlin
5d1b49193b
added wxStaticText::Wrap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 23:14:34 +00:00
Włodzimierz Skiba
0d29fecd2e
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:50:02 +00:00
Włodzimierz Skiba
ebeb1b6ad1
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:47:34 +00:00
Włodzimierz Skiba
bd33d4acf6
Public access to MSWWindowProc() for wxQTMediaBackend::QTWndProc() under wxUnivMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:32:31 +00:00
Włodzimierz Skiba
e27d9a9106
Reuse functionality of wxGetStockLabel().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:23:04 +00:00
Julian Smart
89c9b933e3
Added context help styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 15:06:39 +00:00
Vadim Zeitlin
f226be17ad
added code showing that at least under Windows wxCombobox::GetSelection() return value changes even before EVT_COMBOBOX is sent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 12:13:56 +00:00
Vadim Zeitlin
a2ec9439a3
don't use wxApp::GetAppName() in the usage message, we want the real argv[0] here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 10:08:04 +00:00
Vadim Zeitlin
442a79c0b4
fixed warning about mismatching dlldecl when building as DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 10:06:35 +00:00
Vadim Zeitlin
c73b4312f9
compilation fix for wxUSE_STL=1 and mingw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-15 20:09:46 +00:00