]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
20 years agodon't mess with the fonts if not asked to
Václav Slavík [Sun, 27 Jun 2004 22:17:14 +0000 (22:17 +0000)] 
don't mess with the fonts if not asked to

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

20 years agoremoved wrong bg colour handling code
Václav Slavík [Sun, 27 Jun 2004 22:16:40 +0000 (22:16 +0000)] 
removed wrong bg colour handling code

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

20 years agomore fixes to HTML entities parsing when loading .hhk and .hhc
Václav Slavík [Sun, 27 Jun 2004 19:40:20 +0000 (19:40 +0000)] 
more fixes to HTML entities parsing when loading .hhk and .hhc

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

20 years agofixed typo
Václav Slavík [Sun, 27 Jun 2004 13:47:52 +0000 (13:47 +0000)] 
fixed typo

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

20 years agowarning fix
Václav Slavík [Sun, 27 Jun 2004 13:42:23 +0000 (13:42 +0000)] 
warning fix

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

20 years agofixed setting colour of wxStaticText in case the label contains XML special characters
Václav Slavík [Sun, 27 Jun 2004 13:42:17 +0000 (13:42 +0000)] 
fixed setting colour of wxStaticText in case the label contains XML special characters

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

20 years agoimplemented underlined text drawing for GTK2
Václav Slavík [Sun, 27 Jun 2004 13:10:29 +0000 (13:10 +0000)] 
implemented underlined text drawing for GTK2

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

20 years agofixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead...
Václav Slavík [Sun, 27 Jun 2004 13:09:18 +0000 (13:09 +0000)] 
fixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead of wxChar* in data structures

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

20 years agore-added --inplace documentation
Václav Slavík [Sun, 27 Jun 2004 09:00:52 +0000 (09:00 +0000)] 
re-added --inplace documentation

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

20 years agodon't create the font until after the app is initialized
Robin Dunn [Sat, 26 Jun 2004 18:45:02 +0000 (18:45 +0000)] 
don't create the font until after the app is initialized

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

20 years agofixed sash dragging after programatically trying to set sashpos < minsize
Václav Slavík [Sat, 26 Jun 2004 17:29:43 +0000 (17:29 +0000)] 
fixed sash dragging after programatically trying to set sashpos < minsize

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

20 years agoimplemented 3state checkboxes in wxGTK with GTK2
Václav Slavík [Sat, 26 Jun 2004 15:53:22 +0000 (15:53 +0000)] 
implemented 3state checkboxes in wxGTK with GTK2

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

20 years agodoubleclick selects cell for editing
Václav Slavík [Sat, 26 Jun 2004 15:51:42 +0000 (15:51 +0000)] 
doubleclick selects cell for editing

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

20 years agomore fixes to keypress handling in wxGTK:
Václav Slavík [Sat, 26 Jun 2004 15:25:39 +0000 (15:25 +0000)] 
more fixes to keypress handling in wxGTK:
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal

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

20 years agochange of msgids patch description was inaccurate; fixed
Václav Slavík [Sat, 26 Jun 2004 14:11:53 +0000 (14:11 +0000)] 
change of msgids patch description was inaccurate; fixed

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

20 years agoadded and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test...
Vadim Zeitlin [Sat, 26 Jun 2004 13:34:15 +0000 (13:34 +0000)] 
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample

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

20 years agoadded and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test...
Vadim Zeitlin [Sat, 26 Jun 2004 13:14:24 +0000 (13:14 +0000)] 
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample

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

20 years agoallow a - at the beginning of a menu item (would become a separator by default)
Stefan Csomor [Sat, 26 Jun 2004 10:02:36 +0000 (10:02 +0000)] 
allow a - at the beginning of a menu item (would become   a separator by default)

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

20 years agorely on built-in best size...
Stefan Csomor [Sat, 26 Jun 2004 09:39:01 +0000 (09:39 +0000)] 
rely on built-in best size...

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

20 years agocorrectly positioning vertical slider labels
Stefan Csomor [Sat, 26 Jun 2004 09:31:55 +0000 (09:31 +0000)] 
correctly positioning vertical slider labels

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

20 years agofixed include dependency
Dimitri Schoolwerth [Fri, 25 Jun 2004 15:09:06 +0000 (15:09 +0000)] 
fixed include dependency

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

20 years agocolors are only set if non-black, otherwise Enable(false) does not gray them out
Stefan Csomor [Fri, 25 Jun 2004 13:40:16 +0000 (13:40 +0000)] 
colors are only set if non-black, otherwise Enable(false) does not gray them out

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

20 years agoAdded braces to remove initialisation error
Julian Smart [Fri, 25 Jun 2004 12:59:12 +0000 (12:59 +0000)] 
Added braces to remove initialisation error

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

20 years agofont retrieval synched for setsize and bestsize
Stefan Csomor [Fri, 25 Jun 2004 12:19:33 +0000 (12:19 +0000)] 
font retrieval synched for setsize and bestsize

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

20 years agobest size handling fix
Stefan Csomor [Fri, 25 Jun 2004 11:33:39 +0000 (11:33 +0000)] 
best size handling fix

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

20 years agocursor handling fix
Stefan Csomor [Fri, 25 Jun 2004 11:18:02 +0000 (11:18 +0000)] 
cursor handling fix

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

20 years agotwo-level switch statement for event types
Stefan Csomor [Fri, 25 Jun 2004 09:21:15 +0000 (09:21 +0000)] 
two-level switch statement for event types

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

20 years agofix missing mouse-up events (eg when track control was called, which is consuming...
Stefan Csomor [Fri, 25 Jun 2004 08:25:34 +0000 (08:25 +0000)] 
fix missing mouse-up events (eg when track control was called, which is consuming the mouse-up event)

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

20 years agoSetSizeHints hacks are not needed any longer since the minsize is not
Robin Dunn [Thu, 24 Jun 2004 21:58:11 +0000 (21:58 +0000)] 
SetSizeHints hacks are not needed any longer since the minsize is not
set by default any longer

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

20 years agoreSWIGged
Robin Dunn [Thu, 24 Jun 2004 21:09:45 +0000 (21:09 +0000)] 
reSWIGged

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

20 years agoreSWIGged
Robin Dunn [Thu, 24 Jun 2004 21:02:49 +0000 (21:02 +0000)] 
reSWIGged

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

20 years agoinform the IM context about focus changes
Václav Slavík [Thu, 24 Jun 2004 20:52:25 +0000 (20:52 +0000)] 
inform the IM context about focus changes

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

20 years agoGtkIMContext must be the first to process keypress events, otherwise you won't be...
Václav Slavík [Thu, 24 Jun 2004 20:27:49 +0000 (20:27 +0000)] 
GtkIMContext must be the first to process keypress events, otherwise you won't be able to enter all characters with some IMs; this is same thing as what GtkEntry and GtkTextView do

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

20 years agotesting tweaks
Robin Dunn [Thu, 24 Jun 2004 20:25:53 +0000 (20:25 +0000)] 
testing tweaks

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

20 years agoOptimized sizers to not call CalcMin more often than neccessary
Robin Dunn [Thu, 24 Jun 2004 20:21:31 +0000 (20:21 +0000)] 
Optimized sizers to not call CalcMin more often than neccessary

Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.

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

20 years agoOptimized sizers to not call CalcMin more often than neccessary
Robin Dunn [Thu, 24 Jun 2004 20:13:27 +0000 (20:13 +0000)] 
Optimized sizers to not call CalcMin more often than neccessary

Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.

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

20 years ago* Implemented BestSize cache
Robin Dunn [Thu, 24 Jun 2004 20:09:45 +0000 (20:09 +0000)] 
* Implemented BestSize cache

* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize

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

20 years agofixed keypresses handling to correctly translate Unicode characters to current locale...
Václav Slavík [Thu, 24 Jun 2004 19:51:39 +0000 (19:51 +0000)] 
fixed keypresses handling to correctly translate Unicode characters to current locale's charset in GTK2+ANSI build

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

20 years agofixed memory leak and removed duplicated code
Václav Slavík [Thu, 24 Jun 2004 18:11:29 +0000 (18:11 +0000)] 
fixed memory leak and removed duplicated code

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

20 years agouse GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take...
Václav Slavík [Thu, 24 Jun 2004 17:54:08 +0000 (17:54 +0000)] 
use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument

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

20 years agoWe don't need to pose for NSMenuItem, target/action is used instead.
David Elliott [Thu, 24 Jun 2004 16:36:27 +0000 (16:36 +0000)] 
We don't need to pose for NSMenuItem, target/action is used instead.

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

20 years ago* Do not use class posing to handle target/action.
David Elliott [Thu, 24 Jun 2004 15:14:33 +0000 (15:14 +0000)] 
* Do not use class posing to handle target/action.

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

20 years agofixed warnings after GetFont prototype change
Václav Slavík [Thu, 24 Jun 2004 14:25:47 +0000 (14:25 +0000)] 
fixed warnings after GetFont prototype change

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

20 years agoRemoved references to now-deprecated wxNotebookSizer from documentation.
Václav Slavík [Thu, 24 Jun 2004 11:59:38 +0000 (11:59 +0000)] 
Removed references to now-deprecated wxNotebookSizer from documentation.

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

20 years agodeprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
Václav Slavík [Thu, 24 Jun 2004 11:58:06 +0000 (11:58 +0000)] 
deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed

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

20 years agoFixed stream test.
Włodzimierz Skiba [Thu, 24 Jun 2004 09:32:26 +0000 (09:32 +0000)] 
Fixed stream test.

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

20 years agoset size hints so that the window won't shrink too much
Václav Slavík [Thu, 24 Jun 2004 09:04:10 +0000 (09:04 +0000)] 
set size hints so that the window won't shrink too much

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

20 years ago Committing in .
Jouk Jansen [Thu, 24 Jun 2004 08:15:07 +0000 (08:15 +0000)] 
 Committing in .

 OpenVMS updates

 Modified Files:
  wxWidgets/setup.h_vms wxWidgets/src/gtk/descrip.mms
  wxWidgets/src/motif/checkbox.cpp
 ----------------------------------------------------------------------

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

20 years agoRegenerated makefiles.
Włodzimierz Skiba [Thu, 24 Jun 2004 08:05:50 +0000 (08:05 +0000)] 
Regenerated makefiles.

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

20 years agoRemoved unused code.
Włodzimierz Skiba [Thu, 24 Jun 2004 08:00:23 +0000 (08:00 +0000)] 
Removed unused code.

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

20 years agounicode fix
Stefan Csomor [Thu, 24 Jun 2004 07:28:52 +0000 (07:28 +0000)] 
unicode fix

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

20 years agoFixes for Smartphone builds. Sample does not work yet but at least creates exacutable.
Włodzimierz Skiba [Thu, 24 Jun 2004 06:59:48 +0000 (06:59 +0000)] 
Fixes for Smartphone builds. Sample does not work yet but at least creates exacutable.

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

20 years agoFixed WinCE build.
Włodzimierz Skiba [Thu, 24 Jun 2004 06:54:55 +0000 (06:54 +0000)] 
Fixed WinCE build.

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

20 years agoreverted previous commit: the _real_ bug was already fixed
Václav Slavík [Thu, 24 Jun 2004 06:46:27 +0000 (06:46 +0000)] 
reverted previous commit: the _real_ bug was already fixed

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

20 years agowork around a bug in TabCtrl_AdjustRect which will cause a crash on
Robin Dunn [Thu, 24 Jun 2004 04:46:41 +0000 (04:46 +0000)] 
work around a bug in TabCtrl_AdjustRect which will cause a crash on
win2k, or on XP with themes disabled, if the wxNB_MULTILINE style is
used and the rectangle is very small, (such as when the notebook is
first created.)

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

20 years agoremoved a SetFont(parent->GetFont())
Robin Dunn [Thu, 24 Jun 2004 04:45:53 +0000 (04:45 +0000)] 
removed a SetFont(parent->GetFont())

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

20 years agotweaks for testing
Robin Dunn [Thu, 24 Jun 2004 04:45:20 +0000 (04:45 +0000)] 
tweaks for testing

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

20 years agowxDefaultCoord
Robin Dunn [Thu, 24 Jun 2004 03:04:57 +0000 (03:04 +0000)] 
wxDefaultCoord

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

20 years agofixed UNC paths handling (patch #975038)
Václav Slavík [Wed, 23 Jun 2004 22:20:12 +0000 (22:20 +0000)] 
fixed UNC paths handling (patch #975038)

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

20 years agotest UNC filenames conversion on MSW
Václav Slavík [Wed, 23 Jun 2004 22:18:45 +0000 (22:18 +0000)] 
test UNC filenames conversion on MSW

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

20 years agocompilation fix for gcc-3.4
Václav Slavík [Wed, 23 Jun 2004 22:18:11 +0000 (22:18 +0000)] 
compilation fix for gcc-3.4

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

20 years agofixed bug #976725: "RETURN closes dialog instead of combobox dropdown" (applied fix...
Dimitri Schoolwerth [Wed, 23 Jun 2004 22:12:30 +0000 (22:12 +0000)] 
fixed bug #976725: "RETURN closes dialog instead of combobox dropdown" (applied fix suggested in the bug's comment)

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

20 years agoadded Set(jdn) test
Vadim Zeitlin [Wed, 23 Jun 2004 21:54:34 +0000 (21:54 +0000)] 
added Set(jdn) test

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

20 years agofixed bug in wxDateTime::Set(jdn) when DST was in effect
Vadim Zeitlin [Wed, 23 Jun 2004 21:53:15 +0000 (21:53 +0000)] 
fixed bug in wxDateTime::Set(jdn) when DST was in effect

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

20 years agoextracted some wxDateTime tests from console sample to the unit test suite
Vadim Zeitlin [Wed, 23 Jun 2004 21:18:16 +0000 (21:18 +0000)] 
extracted some wxDateTime tests from console sample to the unit test suite

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

20 years agongettext() macro was removed
Václav Slavík [Wed, 23 Jun 2004 20:31:23 +0000 (20:31 +0000)] 
ngettext() macro was removed

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

20 years agoallow msgids in !=English languages (based on Stefan Kowski's patch)
Václav Slavík [Wed, 23 Jun 2004 20:30:32 +0000 (20:30 +0000)] 
allow msgids in !=English languages (based on Stefan Kowski's patch)

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

20 years agofixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl...
Vadim Zeitlin [Wed, 23 Jun 2004 18:26:49 +0000 (18:26 +0000)] 
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (patch 978403)

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

20 years agouse ES_AUTOHSCROLL for multiline controls as well (fixes 966692)
Vadim Zeitlin [Wed, 23 Jun 2004 17:42:59 +0000 (17:42 +0000)] 
use ES_AUTOHSCROLL for multiline controls as well (fixes 966692)

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

20 years agodon't use wxHSCROLL for the rich edit window, not that it really works as expected...
Vadim Zeitlin [Wed, 23 Jun 2004 17:42:03 +0000 (17:42 +0000)] 
don't use wxHSCROLL for the rich edit window, not that it really works as expected it looks ugly in the sample

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

20 years agoCreate the wxPython dir (for the reverse renamers) if it doesn't exist
Robin Dunn [Wed, 23 Jun 2004 17:39:31 +0000 (17:39 +0000)] 
Create the wxPython dir (for the reverse renamers) if it doesn't exist

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

20 years agodefault colours are not stored in m_fore/backgroundColour variables anymore
Václav Slavík [Wed, 23 Jun 2004 17:31:29 +0000 (17:31 +0000)] 
default colours are not stored in m_fore/backgroundColour variables anymore

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

20 years agorefresh the window in OnSysColourChanged
Václav Slavík [Wed, 23 Jun 2004 16:41:50 +0000 (16:41 +0000)] 
refresh the window in OnSysColourChanged

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

20 years agono need to update default colours and refresh if syscolours change, wxWindow does it
Václav Slavík [Wed, 23 Jun 2004 16:41:40 +0000 (16:41 +0000)] 
no need to update default colours and refresh if syscolours change, wxWindow does it

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

20 years agoMake some long #ifs shorter but multiline so diffs of other ports are more readable.
Włodzimierz Skiba [Wed, 23 Jun 2004 16:04:36 +0000 (16:04 +0000)] 
Make some long #ifs shorter but multiline so diffs of other ports are more readable.

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

20 years agofix bug with button doing nothing
Chris Elliott [Wed, 23 Jun 2004 16:04:10 +0000 (16:04 +0000)] 
fix bug with button doing nothing

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

20 years agowxCocoa: don't force DEFAULT_wxUSE_SCROLLBAR=no
David Elliott [Wed, 23 Jun 2004 16:01:19 +0000 (16:01 +0000)] 
wxCocoa: don't force DEFAULT_wxUSE_SCROLLBAR=no

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

20 years agogtk_widget_get_display is documented to be GTK >= 2.2 thing -- fixes report about...
Václav Slavík [Wed, 23 Jun 2004 15:33:22 +0000 (15:33 +0000)] 
gtk_widget_get_display is documented to be GTK >= 2.2 thing -- fixes report about compilation failure

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

20 years agoGetFont doesn't return reference anymore
Václav Slavík [Wed, 23 Jun 2004 15:30:37 +0000 (15:30 +0000)] 
GetFont doesn't return reference anymore

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

20 years agowxCocoa: Added wxScrollBar
David Elliott [Wed, 23 Jun 2004 15:26:44 +0000 (15:26 +0000)] 
wxCocoa: Added wxScrollBar

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

20 years agoMake some long #ifs shorter but multiline so diffs of other ports are more readable.
Włodzimierz Skiba [Wed, 23 Jun 2004 15:01:33 +0000 (15:01 +0000)] 
Make some long #ifs shorter but multiline so diffs of other ports are more readable.

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

20 years agofixed unresolved symbol main (occurred with wxMac)
Dimitri Schoolwerth [Wed, 23 Jun 2004 14:49:42 +0000 (14:49 +0000)] 
fixed unresolved symbol main (occurred with wxMac)

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

20 years agoRegenerated with Bakefile 0.1.4 (some WinCE files were added by someone else)
David Elliott [Wed, 23 Jun 2004 14:06:28 +0000 (14:06 +0000)] 
Regenerated with Bakefile 0.1.4 (some WinCE files were added by someone else)

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

20 years agoPrivate macro moved in waiting for DektopPolicy implementation.
Włodzimierz Skiba [Wed, 23 Jun 2004 11:55:33 +0000 (11:55 +0000)] 
Private macro moved in waiting for DektopPolicy implementation.

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

20 years agodon't cache default colours
Václav Slavík [Wed, 23 Jun 2004 11:52:03 +0000 (11:52 +0000)] 
don't cache default colours

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

20 years agoremoved non-const wxWindow::GetFont and GetCursor
Václav Slavík [Wed, 23 Jun 2004 11:51:19 +0000 (11:51 +0000)] 
removed non-const wxWindow::GetFont and GetCursor

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

20 years agoremoved non-const wxWindow::GetFont and GetCursor
Václav Slavík [Wed, 23 Jun 2004 11:34:24 +0000 (11:34 +0000)] 
removed non-const wxWindow::GetFont and GetCursor

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

20 years agoPreserve previous state of sizers.
Włodzimierz Skiba [Wed, 23 Jun 2004 10:57:33 +0000 (10:57 +0000)] 
Preserve previous state of sizers.

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

20 years agoShortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
Włodzimierz Skiba [Wed, 23 Jun 2004 10:44:16 +0000 (10:44 +0000)] 
Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.

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

20 years agoAccording to C99 standard (6.10.1 p3) defined() in #define is undefined, so we need...
Włodzimierz Skiba [Wed, 23 Jun 2004 09:39:42 +0000 (09:39 +0000)] 
According to C99 standard (6.10.1 p3) defined() in #define is undefined, so we need replacement.

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

20 years agoinclude bitmap.h not needed anymore
Václav Slavík [Wed, 23 Jun 2004 09:06:04 +0000 (09:06 +0000)] 
include bitmap.h not needed anymore

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

20 years agoFont correction
Julian Smart [Wed, 23 Jun 2004 08:22:10 +0000 (08:22 +0000)] 
Font correction

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

20 years agoRemove SendDestroyEvent() call from SetNSView() and call it from ~wxWindow
David Elliott [Wed, 23 Jun 2004 00:46:51 +0000 (00:46 +0000)] 
Remove SendDestroyEvent() call from SetNSView() and call it from ~wxWindow
and ~wxTopLevelWindow instead.

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

20 years agofix for a warning in DLL build (patch 966823)
Vadim Zeitlin [Tue, 22 Jun 2004 23:33:44 +0000 (23:33 +0000)] 
fix for a warning in DLL build (patch 966823)

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

20 years agodon't suppose that string literals can be casted to non-const char *, newer compilers...
Vadim Zeitlin [Tue, 22 Jun 2004 23:32:29 +0000 (23:32 +0000)] 
don't suppose that string literals can be casted to non-const char *, newer compilers complain about it (replaces patch 974652)

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

20 years agodon't pretend that type unsafe event table entry works, it doesn't any more (bug...
Vadim Zeitlin [Tue, 22 Jun 2004 23:25:46 +0000 (23:25 +0000)] 
don't pretend that type unsafe event table entry works, it doesn't any more (bug 969012)

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

20 years agofixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug...
Vadim Zeitlin [Tue, 22 Jun 2004 23:20:27 +0000 (23:20 +0000)] 
fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)

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

20 years agodon't overwrite initial controls value, explaining what its style is
Vadim Zeitlin [Tue, 22 Jun 2004 23:08:41 +0000 (23:08 +0000)] 
don't overwrite initial controls value, explaining what its style is

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

20 years agouse C++ linkage functions (and not extern C) with std::ptr_fun<>, Sun CC doesn't...
Vadim Zeitlin [Tue, 22 Jun 2004 22:57:13 +0000 (22:57 +0000)] 
use C++ linkage functions (and not extern C) with std::ptr_fun<>, Sun CC doesn't accept C linkage functions here

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

20 years agodon't treat filenames starting with dot as having empty name and extension equal...
Vadim Zeitlin [Tue, 22 Jun 2004 21:56:44 +0000 (21:56 +0000)] 
don't treat filenames starting with dot as having empty name and extension equal to the full name without dot (was done like this only for Unix and VMS before, now do it for all platforms)

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