From 0647852f65598ef9cb9ebff6dfb508e8b1a98c1c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Aug 2012 02:11:25 +0300 Subject: Add support for default theme file names. --- src/gui/widgets/checkbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index ab08a95d0..04ac998bf 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -56,7 +56,7 @@ CheckBox::CheckBox(const std::string &caption, bool selected, if (Theme::instance()) { ImageRect rect; - Theme::instance()->loadRect(rect, "checkbox.xml", 0, 5); + Theme::instance()->loadRect(rect, "checkbox.xml", "", 0, 5); checkBoxNormal = rect.grid[0]; checkBoxChecked = rect.grid[1]; checkBoxDisabled = rect.grid[2]; -- cgit v1.2.3-60-g2f50