Commit Graph

40431 Commits

Author SHA1 Message Date
Václav Slavík
c1e10a22b6 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
2007-05-31 13:08:44 +00:00
Václav Slavík
7652a41dc7 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
2007-05-31 11:00:06 +00:00
Václav Slavík
a1eb65c246 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
2007-05-30 22:02:19 +00:00
Robert Roebling
b9b8b59c0d Forgot to commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:03:26 +00:00
Robert Roebling
2a5e6d1b3a Experimenting with cell attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
Robert Roebling
b086d55fe1 Implement for selection code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 20:31:53 +00:00
Václav Slavík
abde328337 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
2007-05-30 14:03:45 +00:00
Václav Slavík
6256849fdf 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
2007-05-30 13:55:09 +00:00
Václav Slavík
6e5f6c7c60 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
2007-05-30 13:50:36 +00:00
Václav Slavík
13e24d7987 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
2007-05-30 13:43:27 +00:00
Václav Slavík
6e9b091980 wxGTK_CONV -> wxGTK_CONV_SYS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 13:14:13 +00:00
Václav Slavík
c1d028f225 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
2007-05-30 12:56:41 +00:00
Václav Slavík
7e9b47df4f 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
2007-05-30 12:53:51 +00:00
Václav Slavík
6679eeeb9b 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
2007-05-30 12:40:05 +00:00
Robert Roebling
c6538cfea9 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
2007-05-30 11:58:30 +00:00
Václav Slavík
ccfc71271d 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
2007-05-30 11:57:40 +00:00
Robert Roebling
c7cf729fe4 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
2007-05-30 11:40:36 +00:00
Václav Slavík
e86d4e59c1 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
2007-05-30 10:29:12 +00:00
Václav Slavík
092793cb6d compilation fix for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-29 17:02:10 +00:00
Julian Smart
b380533ca2 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
2007-05-29 13:15:33 +00:00
Jouk Jansen
65d722ba54 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
2007-05-29 09:03:28 +00:00
Robert Roebling
b3f62dd521 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
2007-05-29 08:09:03 +00:00
Robert Roebling
a29d690d6e Doc update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 14:49:22 +00:00
Robert Roebling
1821abd1ce 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
2007-05-28 14:46:52 +00:00
Robert Roebling
63415a4212 Removed wxDataViewViewColumn since it is redundant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 13:47:49 +00:00
David Elliott
7c5a378ff2 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
2007-05-28 04:22:10 +00:00
David Elliott
ae04c0f156 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
2007-05-28 02:31:54 +00:00
David Elliott
a24aa4279a 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
2007-05-27 04:52:04 +00:00
David Elliott
931d76980e 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
2007-05-27 04:28:35 +00:00
Robert Roebling
3b7ab6bda8 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
2007-05-26 22:27:58 +00:00
Robert Roebling
ff9bb105a0 Correct GTK version check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 22:06:47 +00:00
Paul Cornett
1529bc41dc restructure fullscreen code dealing with hiding bars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 18:47:53 +00:00
Stefan Neis
585892aac6 Another compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:40:39 +00:00
Vadim Zeitlin
4efffd8750 fix typo: s/radion/radio/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 15:00:56 +00:00
Stefan Neis
6fad7ae1d5 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
2007-05-26 14:15:25 +00:00
Stefan Neis
eca4774075 Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 14:14:16 +00:00
Vadim Zeitlin
f1a0855d24 GetMenuCount() returns size_t, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 10:23:20 +00:00
Robert Roebling
91fd8ba770 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 08:09:24 +00:00
Stefan Csomor
fa15eac7ec 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
2007-05-26 05:45:52 +00:00
Václav Slavík
372bed0a2b 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
2007-05-25 20:29:14 +00:00
Robert Roebling
4b57db792c 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
2007-05-25 19:19:34 +00:00
Julian Smart
921dd444fe Fix for previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 16:51:53 +00:00
Julian Smart
99be3b7c7c 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
2007-05-25 13:54:44 +00:00
Vadim Zeitlin
81ec6f01f2 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
2007-05-25 13:20:41 +00:00
Václav Slavík
6954a1e2c9 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
2007-05-25 12:20:25 +00:00
Paul Cornett
c821db16e6 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
2007-05-25 05:08:18 +00:00
Vadim Zeitlin
cc67d082f7 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
2007-05-25 01:19:17 +00:00
Vadim Zeitlin
f4f963f4a5 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
2007-05-25 00:53:12 +00:00
Vadim Zeitlin
d76a558d4d 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
2007-05-25 00:52:00 +00:00
Vadim Zeitlin
4dfbedd3f5 fix unreachable code warning in GetUntranslatedString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 00:46:20 +00:00