]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gaugemsw.cpp
Changed the "delete win" to the more proper "win->Destroy()" in
[wxWidgets.git] / src / msw / gaugemsw.cpp
index 0c33ec4dda3bfcb1ef397ed162f969a6902dc9e8..1f82c799c436e9a00a32a8a5b5c43538973fe15f 100644 (file)
@@ -128,7 +128,7 @@ bool wxGaugeMSW::Create(wxWindow *parent, wxWindowID id,
   SendMessage((HWND) GetHWND(), ZYZG_SETFGCOLOR, 0, RGB(GetForegroundColour().Red(), GetForegroundColour().Green(), GetForegroundColour().Blue()));
   SendMessage((HWND) GetHWND(), ZYZG_SETBKCOLOR, 0, RGB(GetBackgroundColour().Red(), GetBackgroundColour().Green(), GetBackgroundColour().Blue()));
 
-  SetFont(parent->GetFont());
+  SetFont(parent->GetFont());
 
   if (width == -1)
     width = 50;