Commit Graph

74 Commits

Author SHA1 Message Date
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
43b2d5e7c3 Put braces around all calls to wxLogFunctions() inside an if statement.
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Vadim Zeitlin
f54277629a update LboxLogger definition after the previous revision changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 13:53:36 +00:00
Vadim Zeitlin
9be5555cde use wxLog::Log() instead of ugly cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:25:38 +00:00
Vadim Zeitlin
03511e1596 suppress wxLog::DoLog() and DoLogString() hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:23:31 +00:00
Vadim Zeitlin
63f7d5022e added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:25:01 +00:00
Vadim Zeitlin
77cc73a78e added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:02:20 +00:00
Vadim Zeitlin
0fa541e870 add support for persistent controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Julian Smart
ad60f9e7b6 Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:34:23 +00:00
Vadim Zeitlin
6a8d793736 add a new menu for wxTextEntry-specific tests, currently it allows to check how auto-completion works (#9614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:35:35 +00:00
Vadim Zeitlin
92c01615ec remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:08:02 +00:00
Vadim Zeitlin
027fe16c35 add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:02:07 +00:00
Vadim Zeitlin
747d7d7c15 made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Vadim Zeitlin
8c714e065c override DoLog(wxString) and not the deprecated DoLog(wxChar*) in LboxLogger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:52:29 +00:00
Vadim Zeitlin
e273c962f8 added wx/image.h to fix compilation without PCH after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 13:51:43 +00:00
Vadim Zeitlin
993b016d6c use smaller icons, it looks better (patch 1695225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:25:34 +00:00
Vadim Zeitlin
be16b85933 fix initial layout of the widgets pages: avoid calling Fit() on them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 13:43:44 +00:00
Włodzimierz Skiba
b2b98dfd4b New icon for combobox with bitmaps. Improved readability of icons on dark backgrounds. Rgenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 10:51:24 +00:00
Włodzimierz Skiba
0cebbfc2bd Connect changed page event after subpages are created so book->SetSelection does not cause any lazy creation and non-treebook-based build does not crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:38:56 +00:00
Vadim Zeitlin
23c2b62bb4 don't call EnsureVisible(tree->GetRootItem()) for a tree with hidden root, this crashes under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:21:11 +00:00
Vadim Zeitlin
fe24a9451e reset busy cursor checkbox when switching to another control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:23:47 +00:00
Vadim Zeitlin
3e85973919 prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +00:00
Vadim Zeitlin
e32bcef6e7 added tests for setting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:26:59 +00:00
Vadim Zeitlin
1e3fc113dd don't use obsolete wxNO_FULL_REPAINT_ON_RESIZE flag; don't use unnecessary wxCLIP_CHILDREN one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:38:12 +00:00
Włodzimierz Skiba
63da71ba6a Crash fix for working without selecting subpage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:50:51 +00:00
Włodzimierz Skiba
895cc20597 Use bottom flat notebook on PocketPC by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 13:12:20 +00:00
Włodzimierz Skiba
453535a739 On-demand creation of the pages for speedup of sample launch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:10:06 +00:00
Włodzimierz Skiba
954427ba3e More small devices adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 00:03:27 +00:00
Włodzimierz Skiba
261357eb0a Small devices adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:07:47 +00:00
Włodzimierz Skiba
d8d07a796f wxUniv port mentioned instead of native, wxButton ports listed, minor placement fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:36:44 +00:00
Włodzimierz Skiba
7d1b5cb6ea Opening first subpage initially.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 22:21:29 +00:00
Włodzimierz Skiba
f2fdc4d56e Rearranged widgets sample to show more and categorized widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 19:49:09 +00:00
Włodzimierz Skiba
0c11387408 [ 1482626 ] Fix widgets sample build on unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:24:00 +00:00
Vadim Zeitlin
60c84f8501 allow entering multiline tooltips directly; allow removing tooltip by entering empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:50:09 +00:00
Włodzimierz Skiba
30ab80d646 Unicode build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 16:39:30 +00:00
Vadim Zeitlin
3700e21b91 added a menu allowing to quickly switch to any page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:57:57 +00:00
Vadim Zeitlin
fdfe568d12 no changes, just removed some commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:43:49 +00:00
Vadim Zeitlin
1301e2289f added a menu allowing to change the border style used by the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:39:11 +00:00
Włodzimierz Skiba
2ddb4d1358 Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:03:06 +00:00
Mattia Barbon
5378558e5c No significant changes. Remove reliance on wx/bookctrl.h being
included in wx/sizer.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:54:56 +00:00
Mattia Barbon
6bae67261c Improve sizer support in generic wxNotebook. Fix the widgets sample
to take advantage of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:00:25 +00:00
Włodzimierz Skiba
bd018e7e31 Allow multiline tooltip testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 17:46:54 +00:00
Vadim Zeitlin
a17c1df428 added a menu item to disable a control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 23:19:47 +00:00
Vadim Zeitlin
822b9009d7 added owner drawn checkbox to listbox page and the possibility to test changing the controls font (part of patch 1181057)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:03:50 +00:00
Julian Smart
8c9f8f91cd Updated version to 2.5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 13:05:13 +00:00
Włodzimierz Skiba
1bdd1007d1 Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:50:44 +00:00
Vadim Zeitlin
1c01dd1629 1. added possibility to test setting tooltip for the widget
2. added WidgetPage::GetWidget2() for pages like the spin one which shows
   2 widgets and not only one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:15:46 +00:00
Julian Smart
25057abaac Can suppress themed notebook page with wxNB_NOPAGETHEME or
setting system option msw.notebook.themed-background to 0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 19:17:35 +00:00
Włodzimierz Skiba
49abcb2f46 Remove some controls from limited screen area of Smartphone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:30:36 +00:00
Włodzimierz Skiba
923f4e79a2 Smartphone fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:31:46 +00:00