]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ownerdrw/ownerdrw.cpp
Added script to help make wxMotif via configure; nativdlg sample works again;
[wxWidgets.git] / samples / ownerdrw / ownerdrw.cpp
index 87f8c89da58325bdae2fe812574a46479b283a2b..27815e5424df76b54c1824d561a30d4bdcde0ffc 100644 (file)
@@ -241,6 +241,8 @@ OwnerDrawnFrame::OwnerDrawnFrame(wxFrame *frame, char *title, int x, int y, int
     
   }
 
+  delete[] astrChoices;
+
   // create the status line
   const int widths[] = { -1, 60 };
   CreateStatusBar(2);