]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoinitialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)
Vadim Zeitlin [Sun, 3 Jun 2007 22:35:40 +0000 (22:35 +0000)] 
initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909)

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

17 years agocorrected wrong change description: raw RGB support was already there
Vadim Zeitlin [Sun, 3 Jun 2007 22:13:43 +0000 (22:13 +0000)] 
corrected wrong change description: raw RGB support was already there

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

17 years agoadded raw RGB support and colour normalization to PNM handler
Vadim Zeitlin [Sun, 3 Jun 2007 22:09:51 +0000 (22:09 +0000)] 
added raw RGB support and colour normalization to PNM handler

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

17 years agoadd ctor overloads for all kinds of strings to fix using strings implicitly as wxData...
Vadim Zeitlin [Sun, 3 Jun 2007 22:03:43 +0000 (22:03 +0000)] 
add ctor overloads for all kinds of strings to fix using strings implicitly as wxDataFormat objects after the last change

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

17 years agoTypo fix
Julian Smart [Sun, 3 Jun 2007 11:23:02 +0000 (11:23 +0000)] 
Typo fix

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

17 years agouse iterators in wxStaticText wrapping and escaping code
Václav Slavík [Sat, 2 Jun 2007 17:21:46 +0000 (17:21 +0000)] 
use iterators in wxStaticText wrapping and escaping code

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

17 years agofactor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODi...
Vadim Zeitlin [Sat, 2 Jun 2007 13:51:05 +0000 (13:51 +0000)] 
factor out the fd<->handlers map from wxFDIODispatcher into a separate wxMappedFDIODispatcher class (patch 1729395)

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

17 years agothe same event handler class, not object, can be used with multiple windows (patch...
Vadim Zeitlin [Sat, 2 Jun 2007 13:34:47 +0000 (13:34 +0000)] 
the same event handler class, not object, can be used with multiple windows (patch 1728835)

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

17 years agoupported changes from 2.8.5 (at the very least this simplifies merging between branches)
Vadim Zeitlin [Sat, 2 Jun 2007 13:23:41 +0000 (13:23 +0000)] 
upported changes from 2.8.5 (at the very least this simplifies merging between branches)

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

17 years agoenable non-top tabs workaround for Vista too (replaces patch 1724221)
Vadim Zeitlin [Sat, 2 Jun 2007 13:17:46 +0000 (13:17 +0000)] 
enable non-top tabs workaround for Vista too (replaces patch 1724221)

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

17 years agoadded msw.font.no-proof-quality system option as it makes more fonts available (featu...
Vadim Zeitlin [Sat, 2 Jun 2007 12:56:36 +0000 (12:56 +0000)] 
added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941)

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

17 years agopartially fixed passing wxUniChar as vararg argument (non-ASCII characters are still...
Václav Slavík [Sat, 2 Jun 2007 12:45:19 +0000 (12:45 +0000)] 
partially fixed passing wxUniChar as vararg argument (non-ASCII characters are still broken in UTF8 build, other cases work)

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

17 years agoimplemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8...
Václav Slavík [Sat, 2 Jun 2007 12:42:57 +0000 (12:42 +0000)] 
implemented wxMBConv::IsUTF8() helper for more classes so that all uses of UTF-8 are detected and optimized in wxString

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

17 years agoextract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGri...
Vadim Zeitlin [Fri, 1 Jun 2007 22:05:12 +0000 (22:05 +0000)] 
extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters

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

17 years agocompilation fix: wxColour::GetColor() returns const object
Vadim Zeitlin [Fri, 1 Jun 2007 21:21:01 +0000 (21:21 +0000)] 
compilation fix: wxColour::GetColor() returns const object

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

17 years agosuppress warnings about void* to uint conversion losing precision (under 64 bit archi...
Vadim Zeitlin [Fri, 1 Jun 2007 21:19:28 +0000 (21:19 +0000)] 
suppress warnings about void* to uint conversion losing precision (under 64 bit architectures)

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

17 years agoalso correct run-time check for gtk_message_dialog_format_secondary_text() availability
Vadim Zeitlin [Fri, 1 Jun 2007 12:16:05 +0000 (12:16 +0000)] 
also correct run-time check for gtk_message_dialog_format_secondary_text() availability

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

17 years agouse wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()
Václav Slavík [Thu, 31 May 2007 13:08:44 +0000 (13:08 +0000)] 
use wxString, not wxChar*, in wxCreateDynamicObject() and wxClassInfo::FindClass()

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

17 years agotest if wxString(NULL) ctor creates empty string
Václav Slavík [Thu, 31 May 2007 11:00:06 +0000 (11:00 +0000)] 
test if wxString(NULL) ctor creates empty string

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

17 years agouse wxString, not wxChar*, in wxDataFormat ctor and SetId() method
Václav Slavík [Wed, 30 May 2007 22:02:19 +0000 (22:02 +0000)] 
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method

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

17 years ago Forgot to commit.
Robert Roebling [Wed, 30 May 2007 21:03:26 +0000 (21:03 +0000)] 
  Forgot to commit.

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

17 years ago Experimenting with cell attributes.
Robert Roebling [Wed, 30 May 2007 21:02:33 +0000 (21:02 +0000)] 
  Experimenting with cell attributes.

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

17 years ago Implement for selection code.
Robert Roebling [Wed, 30 May 2007 20:31:53 +0000 (20:31 +0000)] 
  Implement for selection code.

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

17 years agofixed to the newly added crt.h header:
Václav Slavík [Wed, 30 May 2007 14:03:45 +0000 (14:03 +0000)] 
fixed to the newly added crt.h header:
1. include it in makefiles
2. add proper header and guards
3. include wxchar.h so that the things to include are maintained in just one place

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

17 years agochanged wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any...
Václav Slavík [Wed, 30 May 2007 13:55:09 +0000 (13:55 +0000)] 
changed wxGTK_CONV* macros to use utf8_str() and FromUTF8() so that we don't do any unnecessary conversions in UTF8 build

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

17 years agochanged wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid...
Václav Slavík [Wed, 30 May 2007 13:50:36 +0000 (13:50 +0000)] 
changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid unnecessary conversions

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

17 years agowxchar.h doesn't have to be C file anymore, it's C++
Václav Slavík [Wed, 30 May 2007 13:43:27 +0000 (13:43 +0000)] 
wxchar.h doesn't have to be C file anymore, it's C++

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

17 years agowxGTK_CONV -> wxGTK_CONV_SYS
Václav Slavík [Wed, 30 May 2007 13:14:13 +0000 (13:14 +0000)] 
wxGTK_CONV -> wxGTK_CONV_SYS

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

17 years agoput GtkArray into anonymous namespace, the name is too generic to risk conflicts
Václav Slavík [Wed, 30 May 2007 12:56:41 +0000 (12:56 +0000)] 
put GtkArray into anonymous namespace, the name is too generic to risk conflicts

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

17 years ago1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don...
Václav Slavík [Wed, 30 May 2007 12:53:51 +0000 (12:53 +0000)] 
1. removed useless GtkStr class, wxGTK_CONV is the way to do the conversion2. don't make unnecessary copies in GtkArray in UTF8 build

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

17 years agochanged trivial accessors to return const wxString& instead of wxString object
Václav Slavík [Wed, 30 May 2007 12:40:05 +0000 (12:40 +0000)] 
changed trivial accessors to return const wxString& instead of wxString object

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

17 years ago Add wx/crt.h redirecting to wx/wxcrtvarargs.h
Robert Roebling [Wed, 30 May 2007 11:58:30 +0000 (11:58 +0000)] 
  Add wx/crt.h redirecting to wx/wxcrtvarargs.h
  This should probably also be installed.

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

17 years agorestored wxColour ctor taking C string (now in both char* and wchar_t* versions)...
Václav Slavík [Wed, 30 May 2007 11:57:40 +0000 (11:57 +0000)] 
restored wxColour ctor taking C string (now in both char* and wchar_t* versions): it is needed e.g. when doing wxPen("blue",1,wxSOLID)

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

17 years ago Correct new_order index in RowsReordered().
Robert Roebling [Wed, 30 May 2007 11:40:36 +0000 (11:40 +0000)] 
  Correct new_order index in RowsReordered().
  Only call RowsReordered() if index was not empty
    before.
  Get some more memory things right.

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

17 years agouse wxString instead of wxChar* in wxColour::Set/FromString
Václav Slavík [Wed, 30 May 2007 10:29:12 +0000 (10:29 +0000)] 
use wxString instead of wxChar* in wxColour::Set/FromString

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

17 years agocompilation fix for --disable-compat28
Václav Slavík [Tue, 29 May 2007 17:02:10 +0000 (17:02 +0000)] 
compilation fix for --disable-compat28

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

17 years agoGive the correct colour for notebook pages under Vista with the default theme,
Julian Smart [Tue, 29 May 2007 13:15:33 +0000 (13:15 +0000)] 
Give the correct colour for notebook pages under Vista with the default theme,
if we're using a solid colour background. wxUxThemeEngine::GetThemeColor doesn't
return the correct colour for Aero.

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

17 years ago OpenVMS build update
Jouk Jansen [Tue, 29 May 2007 09:03:28 +0000 (09:03 +0000)] 
 OpenVMS build update

 Committing in .

 Modified Files:
  wxWidgets/src/common/descrip.mms

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

17 years ago Invalidate best size after string change in wxChoice.
Robert Roebling [Tue, 29 May 2007 08:09:03 +0000 (08:09 +0000)] 
  Invalidate best size after string change in wxChoice.

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

17 years ago Doc update.
Robert Roebling [Mon, 28 May 2007 14:49:22 +0000 (14:49 +0000)] 
  Doc update.

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

17 years ago Implemented dataview_model notification event to the ctrl
Robert Roebling [Mon, 28 May 2007 14:46:52 +0000 (14:46 +0000)] 
  Implemented dataview_model notification event to the ctrl
    (and then the user).

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

17 years ago Removed wxDataViewViewColumn since it is redundant.
Robert Roebling [Mon, 28 May 2007 13:47:49 +0000 (13:47 +0000)] 
  Removed wxDataViewViewColumn since it is redundant.

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

17 years agoImplement mouse entered, exited, and synthesize move events while the mouse is inside.
David Elliott [Mon, 28 May 2007 04:22:10 +0000 (04:22 +0000)] 
Implement mouse entered, exited, and synthesize move events while the mouse is inside.

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

17 years agoInclude wx/filedlg.h when not WX_PRECOMP.
David Elliott [Mon, 28 May 2007 02:31:54 +0000 (02:31 +0000)] 
Include wx/filedlg.h when not WX_PRECOMP.

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

17 years agoAllow many Objective-C classes to be uniquified at runtime.
David Elliott [Sun, 27 May 2007 04:52:04 +0000 (04:52 +0000)] 
Allow many Objective-C classes to be uniquified at runtime.

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

17 years agoAdd implementation of Objective-C class name uniquifying.
David Elliott [Sun, 27 May 2007 04:28:35 +0000 (04:28 +0000)] 
Add implementation of Objective-C class name uniquifying.

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

17 years ago Upport latest changes from 2_8 branch (print dialog
Robert Roebling [Sat, 26 May 2007 22:27:58 +0000 (22:27 +0000)] 
  Upport latest changes from 2_8 branch (print dialog
    values settable and clipping)

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

17 years ago Correct GTK version check
Robert Roebling [Sat, 26 May 2007 22:06:47 +0000 (22:06 +0000)] 
  Correct GTK version check

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

17 years agorestructure fullscreen code dealing with hiding bars
Paul Cornett [Sat, 26 May 2007 18:47:53 +0000 (18:47 +0000)] 
restructure fullscreen code dealing with hiding bars

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

17 years agoAnother compilation fix.
Stefan Neis [Sat, 26 May 2007 16:40:39 +0000 (16:40 +0000)] 
Another compilation fix.

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

17 years agofix typo: s/radion/radio/
Vadim Zeitlin [Sat, 26 May 2007 15:00:56 +0000 (15:00 +0000)] 
fix typo: s/radion/radio/

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

17 years agoAdded declaration of new method (still to be implemented).
Stefan Neis [Sat, 26 May 2007 14:15:25 +0000 (14:15 +0000)] 
Added declaration of new method (still to be implemented).

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

17 years agoAdded missing include.
Stefan Neis [Sat, 26 May 2007 14:14:16 +0000 (14:14 +0000)] 
Added missing include.

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

17 years agoGetMenuCount() returns size_t, not int
Vadim Zeitlin [Sat, 26 May 2007 10:23:20 +0000 (10:23 +0000)] 
GetMenuCount() returns size_t, not int

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

17 years ago Compilo.
Robert Roebling [Sat, 26 May 2007 08:09:24 +0000 (08:09 +0000)] 
  Compilo.

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

17 years agomac complaining about const to non-const cast
Stefan Csomor [Sat, 26 May 2007 05:45:52 +0000 (05:45 +0000)] 
mac complaining about const to non-const cast

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

17 years agocompilation fix: can't use wxUniCharRef in switch statement
Václav Slavík [Fri, 25 May 2007 20:29:14 +0000 (20:29 +0000)] 
compilation fix: can't use wxUniCharRef in switch statement

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

17 years ago Really don't do anything (including not setting the
Robert Roebling [Fri, 25 May 2007 19:19:34 +0000 (19:19 +0000)] 
  Really don't do anything (including not setting the
    tool's state incorrectly) if pressing on a pressed
    radio tool in a toolbar.

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

17 years agoFix for previous patch
Julian Smart [Fri, 25 May 2007 16:51:53 +0000 (16:51 +0000)] 
Fix for previous patch

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

17 years agoMade toolbar background rebar-like on Vista. Solid grey is OK on XP but jars
Julian Smart [Fri, 25 May 2007 13:54:44 +0000 (13:54 +0000)] 
Made toolbar background rebar-like on Vista. Solid grey is OK on XP but jars
badly in Vista.

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

17 years agocompilation fix for non-PCH build, include wx/wxchar.h
Vadim Zeitlin [Fri, 25 May 2007 13:20:41 +0000 (13:20 +0000)] 
compilation fix for non-PCH build, include wx/wxchar.h

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

17 years agoimplemented wxActivateEvent and restoring focus after a TLW that owned it was destroyed
Václav Slavík [Fri, 25 May 2007 12:20:25 +0000 (12:20 +0000)] 
implemented wxActivateEvent and restoring focus after a TLW that owned it was destroyed

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

17 years agoRemove unneeded wxTLW child inserter function.
Paul Cornett [Fri, 25 May 2007 05:08:18 +0000 (05:08 +0000)] 
Remove unneeded wxTLW child inserter function.
Simplify wxFrame child inserter.
Use the same signature for all the child inserters.

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

17 years agodeal correctly with having too few items in wxFlexGridSizer (this is not an error...
Vadim Zeitlin [Fri, 25 May 2007 01:19:17 +0000 (01:19 +0000)] 
deal correctly with having too few items in wxFlexGridSizer (this is not an error, more items could be added later): don't crash and don't assert

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

17 years agoput #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch...
Vadim Zeitlin [Fri, 25 May 2007 00:53:12 +0000 (00:53 +0000)] 
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)

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

17 years agoadded wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
Vadim Zeitlin [Fri, 25 May 2007 00:52:00 +0000 (00:52 +0000)] 
added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters

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

17 years agofix unreachable code warning in GetUntranslatedString()
Vadim Zeitlin [Fri, 25 May 2007 00:46:20 +0000 (00:46 +0000)] 
fix unreachable code warning in GetUntranslatedString()

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

17 years agodisable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used...
Vadim Zeitlin [Thu, 24 May 2007 23:53:05 +0000 (23:53 +0000)] 
disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized

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

17 years ago1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
Vadim Zeitlin [Thu, 24 May 2007 12:50:42 +0000 (12:50 +0000)] 
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
   inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
   currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
   implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
   a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
   for this the real dialog creation is now done on in ShowModal() in all
   ports

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

17 years agofix DLL export declaration (adv, not core)
Vadim Zeitlin [Thu, 24 May 2007 12:42:25 +0000 (12:42 +0000)] 
fix DLL export declaration (adv, not core)

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

17 years agodon't create wxEventLoop in Initialize(), it's too early to do it there -- wait until...
Vadim Zeitlin [Thu, 24 May 2007 12:28:31 +0000 (12:28 +0000)] 
don't create wxEventLoop in Initialize(), it's too early to do it there -- wait until it's really needed in MainLoop()

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

17 years agoput #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch...
Vadim Zeitlin [Thu, 24 May 2007 10:59:56 +0000 (10:59 +0000)] 
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)

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

17 years agos/wxStaticIcon/wxStaticBitmap/g (bug 1724527)
Vadim Zeitlin [Thu, 24 May 2007 10:56:31 +0000 (10:56 +0000)] 
s/wxStaticIcon/wxStaticBitmap/g (bug 1724527)

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

17 years agoinclude wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0
Vadim Zeitlin [Thu, 24 May 2007 09:57:47 +0000 (09:57 +0000)] 
include wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0

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

17 years agoadded wxRect::operator+() and *() (union and intersection); also made other operators...
Vadim Zeitlin [Thu, 24 May 2007 01:47:29 +0000 (01:47 +0000)] 
added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)

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

17 years agodeclare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
Vadim Zeitlin [Thu, 24 May 2007 01:37:22 +0000 (01:37 +0000)] 
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH

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

17 years agoadded wxAppTraits::CreateConfig() (patch 1721149)
Vadim Zeitlin [Thu, 24 May 2007 00:50:54 +0000 (00:50 +0000)] 
added wxAppTraits::CreateConfig() (patch 1721149)

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

17 years agouse a different indicator when binding parameters and columns (patch 1718474)
Vadim Zeitlin [Thu, 24 May 2007 00:27:40 +0000 (00:27 +0000)] 
use a different indicator when binding parameters and columns (patch 1718474)

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

17 years agodeprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if...
Vadim Zeitlin [Thu, 24 May 2007 00:14:59 +0000 (00:14 +0000)] 
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)

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

17 years agofix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)
Vadim Zeitlin [Wed, 23 May 2007 23:58:09 +0000 (23:58 +0000)] 
fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)

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

17 years agodon't crash in dtor if the dialog had never been shown (patch 1723848)
Vadim Zeitlin [Wed, 23 May 2007 23:38:27 +0000 (23:38 +0000)] 
don't crash in dtor if the dialog had never been shown (patch 1723848)

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

17 years agotake wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
Václav Slavík [Wed, 23 May 2007 19:10:36 +0000 (19:10 +0000)] 
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir

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

17 years ago [ 1712381 ] CRASH: closing floating panel on GTK
Robert Roebling [Tue, 22 May 2007 07:55:39 +0000 (07:55 +0000)] 
  [ 1712381 ] CRASH: closing floating panel on GTK

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

17 years ago [ 1721029 ] [GTK] memory leak in wxMenu
Robert Roebling [Tue, 22 May 2007 07:48:37 +0000 (07:48 +0000)] 
 [ 1721029 ] [GTK] memory leak in wxMenu

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

17 years agodon't define wxEventLoop class differently in GUI and base, this breaks the
Vadim Zeitlin [Tue, 22 May 2007 02:30:01 +0000 (02:30 +0000)] 
don't define wxEventLoop class differently in GUI and base, this breaks the
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications

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

17 years agoremove unused static function (avoids a warning about it)
Vadim Zeitlin [Tue, 22 May 2007 02:02:51 +0000 (02:02 +0000)] 
remove unused static function (avoids a warning about it)

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

17 years agouse wxCoord with GetTextExtent(), not long (the long overloads are deprecated and...
Vadim Zeitlin [Tue, 22 May 2007 02:00:35 +0000 (02:00 +0000)] 
use wxCoord with GetTextExtent(), not long (the long overloads are deprecated and not available at all with 2.8 compatibility turned off)

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

17 years agodon't compare wxList::compatibility_iterator with NULL, this operation is undefined...
Vadim Zeitlin [Tue, 22 May 2007 01:45:37 +0000 (01:45 +0000)] 
don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression

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

17 years agopass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()
Vadim Zeitlin [Tue, 22 May 2007 01:38:40 +0000 (01:38 +0000)] 
pass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()

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

17 years agoadded wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT...
Vadim Zeitlin [Tue, 22 May 2007 01:36:24 +0000 (01:36 +0000)] 
added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())

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

17 years agoremove GetStandardCmdLineOptions() which is not needed for wxGTK1
Vadim Zeitlin [Tue, 22 May 2007 01:34:10 +0000 (01:34 +0000)] 
remove GetStandardCmdLineOptions() which is not needed for wxGTK1

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

17 years agoadded another needed wxOnAssert overload
Václav Slavík [Mon, 21 May 2007 18:24:42 +0000 (18:24 +0000)] 
added another needed wxOnAssert overload

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

17 years ago1. make debugging macros compatible with ANSI build even in Unicode build (i.e.,...
Václav Slavík [Mon, 21 May 2007 18:02:57 +0000 (18:02 +0000)] 
1. make debugging macros compatible with ANSI build even in Unicode build (i.e., no need to use _T() in message strings)
2. save space in binary by using ANSI literals for filenames and expression strings in debug macros

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

17 years agoreturn reference to non-temporary wxString instance from wxGetTranslation() even...
Václav Slavík [Mon, 21 May 2007 17:44:37 +0000 (17:44 +0000)] 
return reference to non-temporary wxString instance from wxGetTranslation() even when not translating

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

17 years agodebug messages don't need translation
Václav Slavík [Mon, 21 May 2007 14:27:16 +0000 (14:27 +0000)] 
debug messages don't need translation

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

17 years agoenter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)
Vadim Zeitlin [Mon, 21 May 2007 14:05:46 +0000 (14:05 +0000)] 
enter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)

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

17 years agocompilation fix: wxcrt.h, not crt.h
Václav Slavík [Sun, 20 May 2007 18:44:34 +0000 (18:44 +0000)] 
compilation fix: wxcrt.h, not crt.h

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

17 years agosimplify client size calculation
Paul Cornett [Sun, 20 May 2007 02:35:15 +0000 (02:35 +0000)] 
simplify client size calculation

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

17 years agoinitialize m_sizeSet
Paul Cornett [Sun, 20 May 2007 02:32:50 +0000 (02:32 +0000)] 
initialize m_sizeSet

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

17 years ago Implemented dropdown items in wxToolBar for wxGTK.
Robert Roebling [Sat, 19 May 2007 23:21:47 +0000 (23:21 +0000)] 
 Implemented dropdown items in wxToolBar for wxGTK.

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