Paul Cornett
f53c863825
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 22:24:35 +00:00
Vadim Zeitlin
820162a63f
don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 21:16:54 +00:00
Paul Cornett
34b1fdebbf
don't include platform headers from public wx header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 19:45:20 +00:00
Paul Cornett
4e7b25f056
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 18:05:28 +00:00
Vadim Zeitlin
2e0d1932aa
fix memory leak in the usage example
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:57:13 +00:00
Julian Smart
013151c744
Implementation of wxSysColourChangedEvent on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:38:39 +00:00
Julian Smart
a45f904dea
Skip the event to allow further child processing
...
Don't change the background colour explicitly on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:37:54 +00:00
Julian Smart
c0a5145a23
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:35:45 +00:00
Julian Smart
a51d7c4bda
wxSYS_COLOUR_WINDOW is no longer hard-wired in wxGTK
...
Added function to reset stored system colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:00:40 +00:00
Julian Smart
52170c5b44
Fixed context menu in wxRichTextCtrl
...
Added colour change event handler to wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:59:24 +00:00
Julian Smart
6103234e25
Added wxVSCROLL to wxRichTextCtrls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:04:20 +00:00
Chris Elliott
653d72b33b
another DMC build fix http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=c++.beta&artnum=684
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 13:24:29 +00:00
Chris Elliott
558820fd08
another DMC build fix ( http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 12:27:54 +00:00
Julian Smart
599576c7a5
Removed duplicates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 08:52:37 +00:00
Vadim Zeitlin
5188000b1d
refresh the item being collapsed when using comctl32.dll v6 as otherwise parts of its selection rectangle may be left on screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 23:24:06 +00:00
Vadim Zeitlin
9534d0dfdc
reverted the change of r32940 which worked around a bug due to associating a dummy line with the root group, it's no longer necessary now that the root group line is always NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:53:26 +00:00
Vadim Zeitlin
9a7b779828
fix bug with adding entries to a root group containing only subgroups (as shown by new AddToExistingRoot() unit test)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:50:26 +00:00
Vadim Zeitlin
94c61acc4c
remove more references to wxODBC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:06:40 +00:00
Vadim Zeitlin
9aeb756e5e
removed isql.h and isqlext.h from files.bkl too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:00:11 +00:00
Robin Dunn
1a03623cf1
Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 21:33:52 +00:00
Chris Elliott
8df068caba
another DMC build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:12:10 +00:00
Robin Dunn
5f22a3a953
Move the %disownarg directive to the .i file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:46 +00:00
Paul Cornett
04848a06ca
revert calling static directly, its not always static
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 17:31:18 +00:00
Michael Wetherell
e564a7e33f
Omit contrib from build of trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 13:23:33 +00:00
Michael Wetherell
4cf2f85789
Add FreeBSD trunk build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 12:03:53 +00:00
Julian Smart
05692417a3
Added documentation for gtk.window.force-background-colour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:47:17 +00:00
Julian Smart
8ab7b4c5d5
Workaround for gtk-qt display bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:25:04 +00:00
Paul Cornett
3c75d8baf9
make access for virtuals match base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:20:23 +00:00
Paul Cornett
326a863afc
use class keyword to match forward decl, call static members directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:19:27 +00:00
Paul Cornett
65a4323236
allow including wx/crt.h first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:19:08 +00:00
Vadim Zeitlin
8879d79292
removed dbbrowse demo from the makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 00:08:43 +00:00
Vadim Zeitlin
70fd78f30e
removed odbc from the libraries used by the console sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 00:08:21 +00:00
Michael Wetherell
efb8d6305f
Fix missing word 'test' causing 'yes' to run during configure on Solaris.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 22:43:57 +00:00
David Elliott
04453a9e1e
Look for and remove any "-NSKey" "value" types of options from argv just like
...
the -psn_XXXX option is removed. This allows Cocoa debug options like
-NSShowAllViews YES to be used as with any other Cocoa program.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 18:01:36 +00:00
Julian Smart
9b4af7b7de
Fixed bug in optimization for character input, affecting first paragraph in the buffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:47 +00:00
Paul Cornett
c3c62822fd
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:06 +00:00
Paul Cornett
93b7620bef
fix for scrolling wxSpinCtrl, broken by fix for scrolling wxStaticBox (rev 48550)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:12:45 +00:00
Julian Smart
0ec6da0248
Now uses the correct selection colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:53:07 +00:00
Julian Smart
caad01090a
Fixed a style application bug inserting a newline other than after the end of a paragraph.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:41:21 +00:00
Chris Elliott
e0e742c32e
fix png compile bug with DMC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 13:24:49 +00:00
Chris Elliott
8ec67c0bf1
fix compile bug with DMC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 13:06:07 +00:00
Chris Elliott
63ef7db3e9
allow Borland 5.5 again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 11:08:10 +00:00
Chris Elliott
d537baffe9
remove extra ';'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 11:04:43 +00:00
Chris Elliott
1790256b78
changes to Borland install/usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 10:48:50 +00:00
Vadim Zeitlin
cfdcfeafbe
always delete the menus, even if the menu is attached (at the very least this fixes Purify warnings)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 23:41:45 +00:00
Vadim Zeitlin
90df603354
release update region as soon as we finished painting the window instead of keeping it indefinitely (bug 1819635)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 23:27:17 +00:00
Vadim Zeitlin
0250efd6f4
use LogLastRepetitionCountIfNeeded() instead of DoLogNumberOfRepeats() in logg.cpp too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 22:19:28 +00:00
David Elliott
5ed63bf59f
Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
...
endianness definitions. This allows any toolkit to be compiled universally
on OS X, not just wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:43:36 +00:00
David Elliott
80da12bc09
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
...
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block. Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__. That's fortunate since __POWERPC__ was defined
unconditionally in that case. Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).
Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems. In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.
Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.
Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.
Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Chris Elliott
9604c99ddf
makefiels updated to reflect removal of db sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 19:42:40 +00:00