head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.32 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.30 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.28 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.26 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.24 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.22 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.20 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.18 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.16 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.14 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.12 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.10 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.8 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.6 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.4 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.2 pkgsrc-2022Q2-base:1.1; locks; strict; comment @// @; 1.1 date 2022.04.04.21.14.51; author bouyer; state Exp; branches; next ; commitid 3n40eqpDzaVEyVyD; desc @@ 1.1 log @Fix icon handling, especially for toolbar. Bump PKGREVISION @ text @$NetBSD: $ Fix icons handling --- src/plots_pi.cpp.orig 2022-04-04 11:20:38.672711152 +0200 +++ src/plots_pi.cpp 2022-04-04 11:22:24.085248480 +0200 @@@@ -76,6 +76,7 @@@@ // Create the PlugIn icons initialize_images(); +#if 0 // Create the PlugIn icons -from shipdriver // loads png file for the listing panel icon wxFileName fn; @@@@ -99,6 +100,7 @@@@ else wxLogWarning("Climatology panel icon has NOT been loaded"); // End of from Shipdriver +#endif m_declination = NAN; @@@@ -193,14 +195,10 @@@@ } // Converts icon.cpp file to an image. Original process -//wxBitmap *plots_pi::GetPlugInBitmap() -//{ -// return new wxBitmap(_img_plots->ConvertToImage().Copy()); -//} - -// Shipdriver uses the climatology_panel.png file to make the bitmap. -wxBitmap *plots_pi::GetPlugInBitmap() { return &m_panelBitmap; } -// End of shipdriver process +wxBitmap *plots_pi::GetPlugInBitmap() +{ + return _img_plots; +} wxString plots_pi::GetCommonName() @