wxWidgets.git
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

17 years agomove m_sizeSet out of wxWindow
Paul Cornett [Sat, 19 May 2007 18:25:15 +0000 (18:25 +0000)] 
move m_sizeSet out of wxWindow

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

17 years agosimplify DoSetClientSize
Paul Cornett [Sat, 19 May 2007 17:34:42 +0000 (17:34 +0000)] 
simplify DoSetClientSize

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

17 years agorebaked after evtloopmsw.cpp removal
Vadim Zeitlin [Sat, 19 May 2007 13:32:12 +0000 (13:32 +0000)] 
rebaked after evtloopmsw.cpp removal

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

17 years agodocument wxLaunchDefaultBrowser() scheme handling
Vadim Zeitlin [Sat, 19 May 2007 12:51:52 +0000 (12:51 +0000)] 
document wxLaunchDefaultBrowser() scheme handling

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

17 years ago Prepend file:// if the URI in wxLaunchDefaultBrowser()
Robert Roebling [Sat, 19 May 2007 12:38:34 +0000 (12:38 +0000)] 
  Prepend file:// if the URI in wxLaunchDefaultBrowser()
    has no scheme and the local file exists.

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

17 years agorestore WX_UNICODE after building ANSI packages
Vadim Zeitlin [Sat, 19 May 2007 00:43:18 +0000 (00:43 +0000)] 
restore WX_UNICODE after building ANSI packages

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

17 years agoImplement a hack so the correct wxGUIEventLoop class will be used.
David Elliott [Fri, 18 May 2007 23:02:55 +0000 (23:02 +0000)] 
Implement a hack so the correct wxGUIEventLoop class will be used.

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

17 years agoAdd obvious implementation of wxGUIAppTraits::CreateEventLoop.
David Elliott [Fri, 18 May 2007 21:58:19 +0000 (21:58 +0000)] 
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.

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

17 years agoInclude sys/types.h from selectdispatcher.h to ensure that fd_set is declared.
David Elliott [Fri, 18 May 2007 21:19:37 +0000 (21:19 +0000)] 
Include sys/types.h from selectdispatcher.h to ensure that fd_set is declared.

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

17 years agoAdd a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
David Elliott [Fri, 18 May 2007 21:17:06 +0000 (21:17 +0000)] 
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up.

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

17 years ago* Add public wxApp::sm_isEmbedded flag like on wxMac. Default initialization
David Elliott [Fri, 18 May 2007 19:52:14 +0000 (19:52 +0000)] 
* Add public wxApp::sm_isEmbedded flag like on wxMac.  Default initialization
  to true but a plugin can set it to false to cause wxCocoa to not initialize
  things like the application delegate or the menubar manager.
* Fix call to [NSNotificationCenter removeObserver:] to use the correct object.

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

17 years agowe don't need status bar in the MDI children
Vadim Zeitlin [Fri, 18 May 2007 17:29:16 +0000 (17:29 +0000)] 
we don't need status bar in the MDI children

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

17 years agoadded virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows...
Vadim Zeitlin [Fri, 18 May 2007 17:03:38 +0000 (17:03 +0000)] 
added virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows to look for the items in the active child when giving help for the current menu item

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

17 years agoremoved unused statusbar parameter from wxFrameBase::ShowMenuHelp()
Vadim Zeitlin [Fri, 18 May 2007 16:44:31 +0000 (16:44 +0000)] 
removed unused statusbar parameter from wxFrameBase::ShowMenuHelp()

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

17 years agodon't give debug messages about WM_MDISETMENU failure if there was no error
Vadim Zeitlin [Fri, 18 May 2007 16:33:10 +0000 (16:33 +0000)] 
don't give debug messages about WM_MDISETMENU failure if there was no error

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

17 years agodon't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created
Vadim Zeitlin [Fri, 18 May 2007 16:27:25 +0000 (16:27 +0000)] 
don't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created

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

17 years agoLaTeX syntax and links corrections
Vadim Zeitlin [Fri, 18 May 2007 16:17:22 +0000 (16:17 +0000)] 
LaTeX syntax and links corrections

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

17 years agofix warning about unused rc variable in release builds
Vadim Zeitlin [Fri, 18 May 2007 16:01:43 +0000 (16:01 +0000)] 
fix warning about unused rc variable in release builds

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