]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoOverride DrawLabel() to avoid crossing out disabled labels in mono theme.
Vadim Zeitlin [Tue, 22 Sep 2009 00:23:09 +0000 (00:23 +0000)] 
Override DrawLabel() to avoid crossing out disabled labels in mono theme.

DrawButtonLabel() crosses out the buttons to indicate that they are disabled
(for lack of any other options in mono renderer) but this looks really bad for
the labels, so don't do it.

Closes #11220.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd a separate wxControlRenderer::DrawButtonLabel() too.
Vadim Zeitlin [Tue, 22 Sep 2009 00:23:03 +0000 (00:23 +0000)] 
Add a separate wxControlRenderer::DrawButtonLabel() too.

wxControlRenderer::DrawLabel() was used by both wxStaticText and wxButton but
their labels may need to be drawn differently and wxRenderer does have
different DrawLabel() and DrawButtonLabel() to do it. Now also add a separate
method for the buttons to wxControlRenderer.

See #11220.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoImplement wxGetActiveWindow() for wxX11.
Vadim Zeitlin [Tue, 22 Sep 2009 00:22:57 +0000 (00:22 +0000)] 
Implement wxGetActiveWindow() for wxX11.

Now that wxGetActiveWindow() is used when showing modal dialogs, it became
critical to implement it as otherwise an assert happens every time a dialog is
shown and because creating the assert dialog itself results in another (same)
assert, this immediately results in a crash.

So implement it even if in a very trivial (but hopefully not too incorrect)
way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoImplement wxWindow::DoGetBorderSize() in wxUniv.
Vadim Zeitlin [Tue, 22 Sep 2009 00:22:52 +0000 (00:22 +0000)] 
Implement wxWindow::DoGetBorderSize() in wxUniv.

As some wxUniv classes implement DoGetBestClientSize(), the new code in
wxWindow::DoGetBestSize() implementation calls DoGetBorderSize() which asserts
because it's not implemented, making it impossible to even start the minimal
sample -- fix this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDefine wxSetDetectableAutoRepeat() for X11-based ports only.
Vadim Zeitlin [Tue, 22 Sep 2009 00:22:44 +0000 (00:22 +0000)] 
Define wxSetDetectableAutoRepeat() for X11-based ports only.

This function is not needed in wxGTK2 as GTK+ sets detectable auto-repeat on
its own in gdk_display_open() anyhow, so move its implementation to
src/x11/utilsx.cpp where it can be used by wxX11 and wxMotif which do need it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMove wxSetDetectableAutoRepeat() to a section compiled in wxCore.
Vadim Zeitlin [Tue, 22 Sep 2009 00:22:38 +0000 (00:22 +0000)] 
Move wxSetDetectableAutoRepeat() to a section compiled in wxCore.

This function was mistakenly defined in a section of utilscmn.cpp compiled as
part of wxBase, so it wasn't correctly exported from the core library and
linking any wxX11 applications failed when using compiler with visibility
support.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRecognize old wx{CHB,LB}_XXX styles in XRC.
Vadim Zeitlin [Mon, 21 Sep 2009 20:10:54 +0000 (20:10 +0000)] 
Recognize old wx{CHB,LB}_XXX styles in XRC.

Situation with wxBK_XXX vs wxXXB_XXX remains confusing, the comments in the
code suggest that the former is preferred but the latter are documented for
wxListbook and wxChoicebook (although they don't even exist for wxTreebook).
So it seems unwise to not recognize the wxXXB_XXX versions in XRC as people
could easily decide to use them instead of wxBK_XXX values -- and this is also
consisten with wxNotebookXmlHandler which does recognize both wxBK_XXX and
wxNB_XXX already.

Change wxListbookXmlHandler and wxChoicebookXmlHandler to also always
recognize these styles.

Closes #10725.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRestore socket initialization times counter.
Vadim Zeitlin [Mon, 21 Sep 2009 14:45:52 +0000 (14:45 +0000)] 
Restore socket initialization times counter.

The change of the counter to a simple boolean in r61985 broke the code which
called both Initialize() and Shutdown() multiple (but the same number of)
times. As this is the documented correct behaviour, restore the counter to
cater for it even if we don't really need it any longer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't call wxSocketBase::IsInitialized() from worker threads.
Vadim Zeitlin [Mon, 21 Sep 2009 14:45:45 +0000 (14:45 +0000)] 
Don't call wxSocketBase::IsInitialized() from worker threads.

This function should be used in the main thread only and calling it from
wxSockAddress unconditionally resulted in asserts in the unit test.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAbort on asserts in worker threads.
Vadim Zeitlin [Mon, 21 Sep 2009 14:45:37 +0000 (14:45 +0000)] 
Abort on asserts in worker threads.

Throwing an exception from worker threads is useless as it is not caught by
our wxUnitTestProtector which only protects the main thread, so abort
immediately to be sure to provide at least some information about the problem
as otherwise nothing may be output at all and the program can end up
deadlocked.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoon iPhone default is to cover entire screen
Stefan Csomor [Mon, 21 Sep 2009 13:11:26 +0000 (13:11 +0000)] 
on iPhone default is to cover entire screen

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing cast warnings on OSX 10.6
Stefan Csomor [Mon, 21 Sep 2009 13:10:01 +0000 (13:10 +0000)] 
fixing cast warnings on OSX 10.6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing include type
Stefan Csomor [Mon, 21 Sep 2009 13:08:52 +0000 (13:08 +0000)] 
fixing include type

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAccount for the margins used by Windows around status bar text.
Vadim Zeitlin [Mon, 21 Sep 2009 13:00:36 +0000 (13:00 +0000)] 
Account for the margins used by Windows around status bar text.

Because Windows uses margins around the text drawn in the status bar, naively
setting a field width to the size of the text didn't work (see previous
commit for an example). As this seems a natural enough thing to do, account
for this margin inside wxStatusBar itself to avoid the user code the trouble
of having to call some special function to do it. Notice that this does mean
that fields not containing text may be slightly larger than needed, but we
consider that this (rarer) case is less important.

Also account correctly for the status bar grip size. And while we still hard
code its size, do it in a clearly named function instead of using completely
mysterious constants here and there.

Closes #10696.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd a test of precisely sized status bar fields.
Vadim Zeitlin [Mon, 21 Sep 2009 13:00:23 +0000 (13:00 +0000)] 
Add a test of precisely sized status bar fields.

Modify the status bar sample to use two fields of just the right size for
their contents to confirm that this doesn't work correctly under at least MSW
currently (see #10696).

Notice that we need two fields because the behaviour/problem is different for
the last field and all the other ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSimplify the status bar sample by removing wxBitmapButton.
Vadim Zeitlin [Mon, 21 Sep 2009 13:00:16 +0000 (13:00 +0000)] 
Simplify the status bar sample by removing wxBitmapButton.

The sample code was complicated by having USE_STATIC_BITMAP and using
wxStaticBitmap or wxBitmapButton depending on it. Neither important for
a wxStatusBar sample so just use wxStaticBitmap always and make the code
simpler and more readable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoShow status bar panes rectangles in the sample.
Vadim Zeitlin [Mon, 21 Sep 2009 13:00:07 +0000 (13:00 +0000)] 
Show status bar panes rectangles in the sample.

Display the rectangles returned by wxStatusBar::GetFieldRect() to be able to
visually check if they are correct.

See #10696.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoClean up status bar sample.
Vadim Zeitlin [Mon, 21 Sep 2009 12:59:56 +0000 (12:59 +0000)] 
Clean up status bar sample.

No real changes, just:
 - Fix code which couldn't compile in USE_MDI_PARENT_FRAME case
 - Use wxMenu::AppendCheckItem() instead of Append(..., true)
 - Remove unnecessary #ifdef __WXMAC__
 - Wrap excessively long lines

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomoving themeing include to private.h
Stefan Csomor [Mon, 21 Sep 2009 12:57:12 +0000 (12:57 +0000)] 
moving themeing include to private.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoInitialize wxMDIParentFrame::m_accelWindowMenu in default ctor.
Vadim Zeitlin [Mon, 21 Sep 2009 08:44:42 +0000 (08:44 +0000)] 
Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor.

If wxMDIParentFrame object was created without its Create() ever being called,
it crashed in its dtor trying to delete an uninitialized pointer, so do
initialize it to NULL in all ctors (via a helper Init() method, as usual).

Closes #11216.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxSocket::Initialize() and Shutdown() are for main thread only.
Vadim Zeitlin [Mon, 21 Sep 2009 08:44:35 +0000 (08:44 +0000)] 
wxSocket::Initialize() and Shutdown() are for main thread only.

Calling Initialize() from another thread could never work before but it wasn't
clear that this was the case so document it in the functions comments and
documentation now and add asserts checking that they are called from the main
thread only.

Also simplify the code as we don't actually need to do any reference-counting
here and a simple boolean flag indicating whether the sockets are initialized
is enough.

Closes #11119.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix harmless unused variable warning.
Vadim Zeitlin [Mon, 21 Sep 2009 08:44:25 +0000 (08:44 +0000)] 
Fix harmless unused variable warning.

The value of wxColour::Alpha() was assigned to a temporary variable which
wasn't used afterwards and Mac OS g++ warned about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix OpenVMS makefiles for inline function changes
Jouk Jansen [Mon, 21 Sep 2009 06:08:50 +0000 (06:08 +0000)] 
Fix OpenVMS makefiles for inline function changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPut wxAny implementation entirely in the header.
Vadim Zeitlin [Sun, 20 Sep 2009 12:37:16 +0000 (12:37 +0000)] 
Put wxAny implementation entirely in the header.

This allows to remove WXDLLIMPEXP_BASE from the class declaration and should
hopefully fix VC6 linking errors when building the unit test.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd missing header to fix wxAny test compilation under OS X.
Vadim Zeitlin [Sun, 20 Sep 2009 12:37:11 +0000 (12:37 +0000)] 
Add missing header to fix wxAny test compilation under OS X.

And probably other Unix systems not using PCH.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAvoid duplicate character event for VK_DECIMAL on numeric keypad
Julian Smart [Sun, 20 Sep 2009 10:57:32 +0000 (10:57 +0000)] 
Avoid duplicate character event for VK_DECIMAL on numeric keypad

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOptionally return length from wxLoadUserResource().
Vadim Zeitlin [Sat, 19 Sep 2009 16:29:57 +0000 (16:29 +0000)] 
Optionally return length from wxLoadUserResource().

Add optional length output parameter and also change the return type to "char
*" from "wxChar *" to which it apparently was blindly changed just to make
this code compile even though this function never returned any strings.

Closes #11214.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd wxColour::{Set,Get}RGB[A]().
Vadim Zeitlin [Sat, 19 Sep 2009 16:29:50 +0000 (16:29 +0000)] 
Add wxColour::{Set,Get}RGB[A]().

These methods allow to operate with all 3 or 4 colour channels at once.

Add their implementation, documentation and a unit test for wxColour
exercising them.

Closes #9918.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd curly braces around wxFAIL_MSG() to avoid g++ 4.3 warning.
Vadim Zeitlin [Sat, 19 Sep 2009 16:29:42 +0000 (16:29 +0000)] 
Add curly braces around wxFAIL_MSG() to avoid g++ 4.3 warning.

g++ 4.3 warns about lack of explicit braces to make it happy.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSet svn properties correctly for the newly added files.
Vadim Zeitlin [Sat, 19 Sep 2009 15:41:08 +0000 (15:41 +0000)] 
Set svn properties correctly for the newly added files.

Set svn:keyword and, most importantly, svn:eol-style, to avoid having files
with DOS line endings in svn, for the new files added by r61971.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed wxAny tests for VC6
Jaakko Salli [Sat, 19 Sep 2009 10:13:31 +0000 (10:13 +0000)] 
Fixed wxAny tests for VC6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxAny initial commit (closes #10932)
Jaakko Salli [Sat, 19 Sep 2009 08:51:11 +0000 (08:51 +0000)] 
wxAny initial commit (closes #10932)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd wxUSE_RIBBON to wx/setup_inc.h and wx/chkconf.h.
Vadim Zeitlin [Fri, 18 Sep 2009 22:16:59 +0000 (22:16 +0000)] 
Add wxUSE_RIBBON to wx/setup_inc.h and wx/chkconf.h.

wxUSE_RIBBON was apparently added to the different wx/*/setup.h files manually
instead of being added to wx/setup_inc.h and regenerating the rest, correct it.

Also check that it is defined in wx/chkconf.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDon't query system option in every DrawBitmap() call under MSW.
Vadim Zeitlin [Fri, 18 Sep 2009 17:11:21 +0000 (17:11 +0000)] 
Don't query system option in every DrawBitmap() call under MSW.

Doing this had noticeable (and bad) performance implications so cache the
value of the option during the first call. This doesn't allow changing its
value during the program execution so we may want to provide some way to
update its value later if really needed.

Closes #11172.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoChange return type of wxList::Member() to bool.
Vadim Zeitlin [Fri, 18 Sep 2009 17:10:58 +0000 (17:10 +0000)] 
Change return type of wxList::Member() to bool.

It used to return a pointer in wxUSE_STL==0 build and an object in
wxUSE_STL==1 one making checking its return value difficult without provoking
warnings from either MSVC or g++ (see #11038).

Also, all the other occurrences of Member() already returned bool, including
the one in wxStringList so changing it to return bool in wxList itself is more
consistent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoConvert change log to UTF-8 encoding.
Vadim Zeitlin [Fri, 18 Sep 2009 17:10:49 +0000 (17:10 +0000)] 
Convert change log to UTF-8 encoding.

See #11116.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCheck that files being checked in use UTF-8.
Vadim Zeitlin [Fri, 18 Sep 2009 16:28:10 +0000 (16:28 +0000)] 
Check that files being checked in use UTF-8.

Closes #11116.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd the initial version of svn pre-commit hook.
Vadim Zeitlin [Fri, 18 Sep 2009 16:28:04 +0000 (16:28 +0000)] 
Add the initial version of svn pre-commit hook.

This version checks for absence of hard TABs in our source files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix recurring typo in "theming".
Vadim Zeitlin [Fri, 18 Sep 2009 16:16:30 +0000 (16:16 +0000)] 
Fix recurring typo in "theming".

It was (consistently) misspelt as "themeing" in several places.

Closes #11206.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse UTF-8 for all non-ASCII characters in the sources.
Vadim Zeitlin [Fri, 18 Sep 2009 16:16:12 +0000 (16:16 +0000)] 
Use UTF-8 for all non-ASCII characters in the sources.

Avoid mixing Latin-1, UTF-8 and Mac Roman (?) encodings in different source
files, use UTF-8 everywhere.

See #11116.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDefine NDEBUG when building 3rd party libraries.
Vadim Zeitlin [Fri, 18 Sep 2009 16:15:54 +0000 (16:15 +0000)] 
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

15 years agoUse wxASSERT() instead of assert() in wx code.
Vadim Zeitlin [Fri, 18 Sep 2009 14:04:22 +0000 (14:04 +0000)] 
Use wxASSERT() instead of assert() in wx code.

This is more consistent and ensures that all asserts in wxWidgets are
controlled by a single wxDEBUG_LEVEL setting instead of also relying on NDEBUG
as standard assert() macro does.

See #11155.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCorrect wxStreamBuffer::Seek() return value.
Vadim Zeitlin [Fri, 18 Sep 2009 14:03:55 +0000 (14:03 +0000)] 
Correct wxStreamBuffer::Seek() return value.

It returned the offset instead of the new position when seeking forward from
current position in a "flushable" buffer.

Closes #11205.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAnother compilation fix for wxRibbon under OS X.
Vadim Zeitlin [Fri, 18 Sep 2009 14:03:28 +0000 (14:03 +0000)] 
Another compilation fix for wxRibbon under OS X.

Include Carbon/Carbon.h to get kThemeBrushToolbarBackground declaration.

Closes #11203.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixes for Mac (use wxClientDC not wxMemoryDC for temporary DC)
Julian Smart [Fri, 18 Sep 2009 09:01:43 +0000 (09:01 +0000)] 
Fixes for Mac (use wxClientDC not wxMemoryDC for temporary DC)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxUSE_RIBOON to setup for OpenVMS
Jouk Jansen [Fri, 18 Sep 2009 06:24:59 +0000 (06:24 +0000)] 
add wxUSE_RIBOON to setup for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCompilation fix for ANSI build after r61898.
Vadim Zeitlin [Thu, 17 Sep 2009 13:02:12 +0000 (13:02 +0000)] 
Compilation fix for ANSI build after r61898.

wxWX2MBbuf is just char* if wxUSE_UNICODE==0 and so doesn't have a length()
method, use wxString::length() in wxFile::Write() instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded missing includes
Julian Smart [Thu, 17 Sep 2009 08:18:52 +0000 (08:18 +0000)] 
Added missing includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoInclusion of inline function has been changed
Jouk Jansen [Thu, 17 Sep 2009 06:53:11 +0000 (06:53 +0000)] 
Inclusion of inline function has been changed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMore ribbon compilation fixes for OS X.
Vadim Zeitlin [Thu, 17 Sep 2009 00:17:57 +0000 (00:17 +0000)] 
More ribbon compilation fixes for OS X.

Add more headers for wxColour and wxFont.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRibbon compilation fixes for OS X.
Vadim Zeitlin [Wed, 16 Sep 2009 23:19:01 +0000 (23:19 +0000)] 
Ribbon compilation fixes for OS X.

Forward declare wxWindow and wxDC classes in wx/ribbon/art.h to avoid errors
in (PCH-less?) buildbot builds.

Also include header containing declarations of private Mac functions in
implementation file (closes #11203).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd ribbon sample to the list of samples to build.
Vadim Zeitlin [Wed, 16 Sep 2009 23:18:55 +0000 (23:18 +0000)] 
Add ribbon sample to the list of samples to build.

Add the file to samples/samples.bkl and regenerate the makefiles and also add
it manually to samples.dsw.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoProvide implementation for wxArrayString::resize().
Vadim Zeitlin [Wed, 16 Sep 2009 23:18:48 +0000 (23:18 +0000)] 
Provide implementation for wxArrayString::resize().

This method was declared but not implemented in wxUSE_STL==0 build.

Also add unit test for this function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRebaked everything with bakefile 0.2.6 after wxRibbon merge.
Vadim Zeitlin [Wed, 16 Sep 2009 13:07:10 +0000 (13:07 +0000)] 
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

15 years agoAllow creating wxSingleInstanceChecker with default name.
Vadim Zeitlin [Wed, 16 Sep 2009 12:38:00 +0000 (12:38 +0000)] 
Allow creating wxSingleInstanceChecker with default name.

This makes it easier to use in common cases: there is no need to come up with
a unique name for the checker any more as sufficiently unique combination of
wxApp::GetAppName() and wxGetUserId() is used if no name was explicitly given.

This is done by calling the new CreateDefault() on demand from
IsAnotherRunning() instead of simply creating the checker with the default
name in the default ctor for compatibility (you had to call Create() after
using the default ctor before and it can only be called once) and because
wxTheApp might not exist yet when wxSingleInstanceChecker is created.

Closes #11166.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMerged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.
Peter Cawley [Wed, 16 Sep 2009 12:06:02 +0000 (12:06 +0000)] 
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

15 years agoChange wxBoxSizer::AddSpacer() to only add space in sizer direction.
Vadim Zeitlin [Tue, 15 Sep 2009 17:05:32 +0000 (17:05 +0000)] 
Change wxBoxSizer::AddSpacer() to only add space in sizer direction.

It used to add a spacer with the given size in both directions but this was
counter-intuitive and wasn't expected even by the original author of this code
so change it to behave more reasonably.

Closes #11197.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCorrect wxPendingDelete declaration.
Vadim Zeitlin [Tue, 15 Sep 2009 17:05:24 +0000 (17:05 +0000)] 
Correct wxPendingDelete declaration.

This variable was moved to wxBase from wxCore recently and hence must be
declared using WXDLLIMPEXP_DATA_BASE and not WXDLLIMPEXP_DATA_CORE now.

Closes #11202.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoReally fix VC6 compilation after r61919.
Vadim Zeitlin [Tue, 15 Sep 2009 17:05:13 +0000 (17:05 +0000)] 
Really fix VC6 compilation after r61919.

The change in r61922 which was supposed to do it somehow forgot the fix itself
and added only a comment explaining why it was needed. Really do name the
struct now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd wxXmlResource::LoadObjectRecursively().
Vadim Zeitlin [Mon, 14 Sep 2009 23:22:00 +0000 (23:22 +0000)] 
Add wxXmlResource::LoadObjectRecursively().

These methods can be used to load objects from anywhere in the XRC resource
tree and not just from the top level.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd virtual dtor to header renderer classes to avoid g++ warnings.
Vadim Zeitlin [Mon, 14 Sep 2009 23:21:48 +0000 (23:21 +0000)] 
Add virtual dtor to header renderer classes to avoid g++ warnings.

g++ warns about class with virtual functions having non-virtual dtor so make
the dtor of wxGridCornerHeaderRenderer virtual even if it's not really needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowxRTC's own caret is more reliable than the generic one, so use it.
Julian Smart [Mon, 14 Sep 2009 15:52:48 +0000 (15:52 +0000)] 
wxRTC's own caret is more reliable than the generic one, so use it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded dummy wxPG_THEME_BORDER style for backwards compatibility
Jaakko Salli [Mon, 14 Sep 2009 15:17:50 +0000 (15:17 +0000)] 
Added dummy wxPG_THEME_BORDER style for backwards compatibility

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixed use of map::erase() in ClearActionTriggers() (this bug was revealed by static...
Jaakko Salli [Mon, 14 Sep 2009 14:53:13 +0000 (14:53 +0000)] 
Fixed use of map::erase() in ClearActionTriggers() (this bug was revealed by static code analysis - see ticket #11195)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded missing destructor
Stefan Csomor [Mon, 14 Sep 2009 13:23:48 +0000 (13:23 +0000)] 
added missing destructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing and completing iPhone sound
Stefan Csomor [Mon, 14 Sep 2009 13:07:23 +0000 (13:07 +0000)] 
fixing and completing iPhone sound

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoenable backface culling which is not enabled by default on ES
Stefan Csomor [Mon, 14 Sep 2009 11:52:43 +0000 (11:52 +0000)] 
enable backface culling which is not enabled by default on ES

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove debug logging
Stefan Csomor [Mon, 14 Sep 2009 08:50:17 +0000 (08:50 +0000)] 
remove debug logging

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoLaunch Services are not available on iPhone
Stefan Csomor [Mon, 14 Sep 2009 08:38:05 +0000 (08:38 +0000)] 
Launch Services are not available on iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix VC6 compilation after r61919.
Vadim Zeitlin [Mon, 14 Sep 2009 08:37:28 +0000 (08:37 +0000)] 
Fix VC6 compilation after r61919.

Work around VC6 bug which resulted in error C2639 when compiling the
declaration of an unnamed struct inside wxGridCellAttrProvider.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding glFrustum to compat API, supporting SetColour on OpenGL ES
Stefan Csomor [Mon, 14 Sep 2009 08:37:23 +0000 (08:37 +0000)] 
adding glFrustum to compat API, supporting SetColour on OpenGL ES

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded support for corner, row and column headers renderers to wxGrid.
Vadim Zeitlin [Mon, 14 Sep 2009 00:45:29 +0000 (00:45 +0000)] 
Added support for corner, row and column headers renderers to wxGrid.

Make it possible to customize the appearance of wxGrid corner window and its
row and column headers by defining custom renderers for them.

Add demonstration of this new feature to the grid sample and update the
documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDocument wxGridCellAttrProvider.
Vadim Zeitlin [Mon, 14 Sep 2009 00:45:18 +0000 (00:45 +0000)] 
Document wxGridCellAttrProvider.

Added basic documentation for wxGridCellAttrProvider and
wxGridCellAttr::wxAttrKind enum used by it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove unneeded pointer check.
Vadim Zeitlin [Mon, 14 Sep 2009 00:44:59 +0000 (00:44 +0000)] 
Remove unneeded pointer check.

This was flagged as an error by static code analyse tools.

Closes #11195.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadapting to new sound file organization for osx
Stefan Csomor [Sun, 13 Sep 2009 18:28:45 +0000 (18:28 +0000)] 
adapting to new sound file organization for osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMinor code cleanup
Jaakko Salli [Sun, 13 Sep 2009 17:52:32 +0000 (17:52 +0000)] 
Minor code cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding types for OpenGL on iPhone
Stefan Csomor [Sun, 13 Sep 2009 17:45:21 +0000 (17:45 +0000)] 
adding types for OpenGL on iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadapting to new sound files organization on osx
Stefan Csomor [Sun, 13 Sep 2009 17:41:36 +0000 (17:41 +0000)] 
adapting to new sound files organization on osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoavoiding potential infinite recursion
Stefan Csomor [Sun, 13 Sep 2009 17:34:51 +0000 (17:34 +0000)] 
avoiding potential infinite recursion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosupporting rotated display correctly for display size
Stefan Csomor [Sun, 13 Sep 2009 17:33:46 +0000 (17:33 +0000)] 
supporting rotated display correctly for display size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoenabling correct audio framework on OSX
Stefan Csomor [Sun, 13 Sep 2009 17:23:53 +0000 (17:23 +0000)] 
enabling correct audio framework on OSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosound implementation for AudioToolbox on 10.5 and iPhone
Stefan Csomor [Sun, 13 Sep 2009 17:23:05 +0000 (17:23 +0000)] 
sound implementation for AudioToolbox on 10.5 and iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOpenGL for iPhone
Stefan Csomor [Sun, 13 Sep 2009 17:22:13 +0000 (17:22 +0000)] 
OpenGL for iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOpenGL changes for carbon and cocoa
Stefan Csomor [Sun, 13 Sep 2009 17:19:01 +0000 (17:19 +0000)] 
OpenGL changes for carbon and cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding emulation API for OpenGL ES platforms
Stefan Csomor [Sun, 13 Sep 2009 17:17:40 +0000 (17:17 +0000)] 
adding emulation API for OpenGL ES platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoBe more paranoid about parent window possibly being NULL (partly fixes #11115).
Stefan Neis [Sun, 13 Sep 2009 15:48:40 +0000 (15:48 +0000)] 
Be more paranoid about parent window possibly being NULL (partly fixes #11115).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix test compilation under OS X.
Vadim Zeitlin [Sun, 13 Sep 2009 12:26:03 +0000 (12:26 +0000)] 
Fix test compilation under OS X.

wxFileOffset and ssize_t are not the same type under this platform so using
CPPUNIT_ASSERT_EQUAL() with the arguments of these types fails. Use ssize_t
instead of wxFileOffset to fix this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoReenable build of execmon in utils bakefile.
Vadim Zeitlin [Sun, 13 Sep 2009 11:55:08 +0000 (11:55 +0000)] 
Reenable build of execmon in utils bakefile.

Undo r61894, it's not necessary to disable build of execmon any longer after
r61901.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd execmon bakefile (which was forgotten in the initial commit) and regenerate execm...
Francesco Montorsi [Sun, 13 Sep 2009 10:09:59 +0000 (10:09 +0000)] 
add execmon bakefile (which was forgotten in the initial commit) and regenerate execmon makefiles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDocument the meaning of empty value name in wxRegKey methods.
Vadim Zeitlin [Sat, 12 Sep 2009 22:48:29 +0000 (22:48 +0000)] 
Document the meaning of empty value name in wxRegKey methods.

Empty value refers to the default or unnamed key in Win32 API but this may be
not clear to people unused to it so mention this explicitly.

Closes #11191.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoWrite correct number of bytes in wxFile::Write(wxString).
Vadim Zeitlin [Sat, 12 Sep 2009 22:40:42 +0000 (22:40 +0000)] 
Write correct number of bytes in wxFile::Write(wxString).

This function was broken for conversions using more than one byte per
character (e.g. UTF-16 or UTF-32) and also even for UTF-8 for strings
containing NUL bytes as it used strlen() to determine the number of bytes to
write out instead of using the really needed number.

Fix this by using the wxCharBuffer::length() method which always returns the
correct value.

Also add a wxFile unit test verifying that it can correctly read back a string
written using any of UTF-8, UTF-16 or UTF-32.

Closes #11192.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoExtract TestFile class in a separate header.
Vadim Zeitlin [Sat, 12 Sep 2009 22:40:35 +0000 (22:40 +0000)] 
Extract TestFile class in a separate header.

This allows to reuse it in the other tests which need to create a temporary
file automatically destroyed on test exit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd convenient wxMBConv::cMB2WC/WC2MB overloads taking buffers.
Vadim Zeitlin [Sat, 12 Sep 2009 22:40:25 +0000 (22:40 +0000)] 
Add convenient wxMBConv::cMB2WC/WC2MB overloads taking buffers.

These overloads allow not to worry about buffer lengths and just convert
between wxCharBuffer and wxWCharBuffer directly in a convenient way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUnregister wake up pipe file fd in ~wxConsoleEventLoop.
Vadim Zeitlin [Sat, 12 Sep 2009 22:40:18 +0000 (22:40 +0000)] 
Unregister wake up pipe file fd in ~wxConsoleEventLoop.

We must unregister the wake up pipe file descriptor which we register with the
IO dispatcher in wxConsoleEventLoop ctor, otherwise doing it the next time
(i.e. if wxConsoleEventLoop is deleted and recreated) results in asserts, at
least when using wxSelectDispatcher and not wxEpollDispatcher (i.e. under any
non-Linux Unix system).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoDisable build of utils/execmon.
Vadim Zeitlin [Sat, 12 Sep 2009 15:29:11 +0000 (15:29 +0000)] 
Disable build of utils/execmon.

Bakefile for this program doesn't exist so its makefiles are out of date and
it doesn't build any more now, disable its build until the bakefile is checked
in.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRebake all the samples, demos and tests makefiles.
Vadim Zeitlin [Sat, 12 Sep 2009 13:38:08 +0000 (13:38 +0000)] 
Rebake all the samples, demos and tests makefiles.

This should have been committed together with the changes to the debug flags
handling in build/bakefiles in r61887.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoregenerated
Vadim Zeitlin [Sat, 12 Sep 2009 13:35:16 +0000 (13:35 +0000)] 
regenerated

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove WX_DEBUG option from Unix wx presets, it's not needed any more.
Vadim Zeitlin [Sat, 12 Sep 2009 11:29:49 +0000 (11:29 +0000)] 
Remove WX_DEBUG option from Unix wx presets, it's not needed any more.

It doesn't make sense to select debug or release build of wxWidgets any more
as they are now compatible under Unix. Under Windows the option is still
needed but it selects the build using debug (or not) version of the CRT rather
than the one built with __WXDEBUG__ defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd wxDEBUG_LEVEL to wx/setup.h and document it.
Vadim Zeitlin [Sat, 12 Sep 2009 11:29:42 +0000 (11:29 +0000)] 
Add wxDEBUG_LEVEL to wx/setup.h and document it.

Under Unix wxDEBUG_LEVEL can be set using configure --enable-debug=max option
but under Windows it needs to be changed in wx/msw/setup.h so add it to this
file with a comment explaining its meaning.

Also document this symbol with the other preprocessor constants.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoChange Unix build system to not use debug build any more.
Vadim Zeitlin [Sat, 12 Sep 2009 11:29:31 +0000 (11:29 +0000)] 
Change Unix build system to not use debug build any more.

Remove "d" suffix from the libraries and the BUILD variable which is not used
any longer.

Also ignore (but still support, for compatibility) --debug option in wx-config.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775