diff options
Diffstat (limited to 'plugins/Weather/src/weather.cpp')
-rw-r--r-- | plugins/Weather/src/weather.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index bcd9f118aa..e3877ebd95 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -121,7 +121,7 @@ int OnToolbarLoaded(WPARAM, LPARAM) ttb.hIconHandleUp = GetIconHandle("main");
ttb.hIconHandleDn = GetIconHandle("disabled");
ttb.dwFlags = (db_get_b(NULL, WEATHERPROTONAME, "AutoUpdate", 1) ? 0 : TTBBF_PUSHED) | TTBBF_ASPUSHBUTTON | TTBBF_VISIBLE;
- hTBButton = TopToolbar_AddButton(&ttb);
+ hTBButton = g_plugin.addTTB(&ttb);
return 0;
}
|