Commit Graph

49113 Commits

Author SHA1 Message Date
Vadim Zeitlin
3b4af85307 make the sample work again by correcting DrawHeaderButton() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:39:23 +00:00
Vadim Zeitlin
b6ccc13c2f compilation fix for wxOSX/Cocoa: don't use Carbon functions in common to all OS X ports OpenGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:22:40 +00:00
Vadim Zeitlin
83c23edb02 suppress harmless warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:16:20 +00:00
Vadim Zeitlin
5ec58699d0 suppress harmless warning about possibly uninitialized variable in ParseRfc822Date() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:14:51 +00:00
Vadim Zeitlin
c2f7cc71ef suppress harmless warning about possibly uninitialized variable in OpenLogFile() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:13:41 +00:00
Vadim Zeitlin
e37870dd38 document SetStandardFonts() and SetFonts() methods of various wxHTML classes (closes #10913)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:03:39 +00:00
Stefan Csomor
1034a6bbff bracket 10.5 only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 11:51:46 +00:00
Stefan Csomor
3bb0d96f10 better font round-trip fidelity (native->wx->native), fixing fontdialog for osx_cocoa, closes #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 07:13:53 +00:00
Stefan Csomor
5b304314d9 fixing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 06:49:27 +00:00
Vadim Zeitlin
9611b7975f use WXSIZEOF(x) instead of sizeof(x)/sizeof(x[0]) (closes #10701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:43:31 +00:00
Vadim Zeitlin
609aa390f4 reset m_establishing flag and last error when asynchronous connection is established (closes #10838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:38:42 +00:00
Vadim Zeitlin
3814f667a0 fix typo in wxClient::MakeConnection() docs (closes #10841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:29:43 +00:00
Vadim Zeitlin
3bb3875e13 show combobox drop down/close up events (closes #10954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:26:49 +00:00
Vadim Zeitlin
b2f747d8f9 don't use WaitOnConnect(), it doesn't make sense to use asynchronous Connect() only to block waiting for it immediately (see #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 16:11:12 +00:00
Vadim Zeitlin
40a983ad63 set socket state to connected when it receives a connection notification, otherwise WaitOnConnect() had to be called for asynchrnously Connect()ed sockets to work (closes #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 16:10:12 +00:00
Stefan Csomor
b3ba104329 fixing memory leak and unnecessary cocoa init, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 14:52:12 +00:00
Stefan Csomor
8dcf5bc1a6 reverting incorrect conversion from r52690, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 13:23:51 +00:00
Vadim Zeitlin
dc9934d489 ignore bCase parameter of wxSortedArrayString::Index() in STL build just as we do in non-STL one (it didn't work correctly anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 09:08:50 +00:00
Vadim Zeitlin
256cddd7e9 added X11R7 directories to X libraries search path (needed for NetBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 09:00:20 +00:00
Vadim Zeitlin
880a2b69fb set the context we create in IsExtensionSupported() (see #10545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:34:54 +00:00
Vadim Zeitlin
3dd63e0241 fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:33:21 +00:00
Vadim Zeitlin
be5be16a23 interpret ~ specially only when it is the first character of the path (closes #10948, see #10941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:07:38 +00:00
Vadim Zeitlin
9630954d5d remove _T()s and wxChars from the test making it much more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:30 +00:00
Vadim Zeitlin
a219792590 ensure that we have event loop before showing a modal dialog; this allows to do it even before the main application loop starts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:06 +00:00
Vadim Zeitlin
795ac80edb make wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 08:56:31 +00:00
Vadim Zeitlin
e5c48ccdf6 correct wxSortedArrayString(wxArrayString) ctor documentation (closes #10944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-30 13:31:53 +00:00
Vadim Zeitlin
68623b5937 don't use wxFilePicker style when creating wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-29 22:07:34 +00:00
Kevin Ollivier
f5008769d6 Fix typo in class name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 23:16:25 +00:00
Vadim Zeitlin
842adaf697 simplify ScrollTo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:50:55 +00:00
Vadim Zeitlin
820c05dfd6 remove obsolete comment moved to wxBitmapButtonBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:49:48 +00:00
Vadim Zeitlin
2ac0ac7c1b another compilation fix after r61232
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:02:20 +00:00
Vadim Zeitlin
ceceef4c05 don't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:32:20 +00:00
Vadim Zeitlin
be9ba6e5be compilation fix for wxUniv with 2.8 compatibility disabled (closes #10912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:16:41 +00:00
Julian Smart
aa838aed9a Allow for menus when deleting a tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:01:13 +00:00
Vadim Zeitlin
7e3204b45c added wxICON_NONE and implement support for it in wxGTK (closes #2897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:25:37 +00:00
Vadim Zeitlin
78eecde086 compilation fix after r61232
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:22:55 +00:00
Vadim Zeitlin
8e4c291246 always use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms (which required some refactoring) (hopefully really closes #10927)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:14:37 +00:00
Vadim Zeitlin
79e38eaf2a set the initial size of bitmap buttons correctly again after it was broken by r61081 (closes #10927)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 22:22:48 +00:00
Vadim Zeitlin
e71aec80fd check whether we show bitmaps at all in GTKUpdateBitmap() (closes #10933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 22:11:41 +00:00
Vadim Zeitlin
cf7f7d5d96 correct an example which had no chance of working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 21:35:27 +00:00
Julian Smart
f81140485a Fix for toolbar commands not working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 12:31:12 +00:00
Kevin Ollivier
e77cba1a9c Add wxGraphicsBitmap overload for DrawBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 21:28:31 +00:00
Vadim Zeitlin
597b64c291 mention that the date passed to SetValue() must only be valid unless the control has wxDP_ALLOWNONE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 18:20:12 +00:00
Vadim Zeitlin
ba8ac2c7c3 compilation fix after wxBitmap image changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 14:49:53 +00:00
Vadim Zeitlin
886180cdbf suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 14:49:09 +00:00
Julian Smart
e5cda2df16 Style selection now restored after editing the style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:35:54 +00:00
Julian Smart
04529b2af2 Made standard bullet names translatable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:28:20 +00:00
Kevin Ollivier
3c10f6db79 Build fixes after the 2.8->trunk forward port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-23 17:39:14 +00:00
Vadim Zeitlin
bb2212e6c4 adjust the toolbar tools bitmap size to fit the biggest bitmap used under wxOSX too, not only under MSW (and moved the code doing it to the common base class to avoid duplicating it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-23 10:21:18 +00:00
Vadim Zeitlin
12a124ddc9 remove confusing wxDialog::ButtonSizerFlags and extract button styles properly in each generic dialog implementation instead (closes #9836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-23 08:56:32 +00:00