class VScrollWindow : public wxVScrolledWindow
 {
 public:
-    VScrollWindow(wxFrame *frame) : wxVScrolledWindow(frame, -1)
+    VScrollWindow(wxFrame *frame) : wxVScrolledWindow(frame, wxID_ANY)
     {
         m_frame = frame;
 
 
     // and show it (the frames, unlike simple controls, are not shown when
     // created initially)
-    frame->Show(TRUE);
+    frame->Show(true);
 
     // ok
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
 // frame constructor
 VScrollFrame::VScrollFrame()
             : wxFrame(NULL,
-                      -1,
+                      wxID_ANY,
                       _T("VScroll wxWidgets Sample"),
                       wxDefaultPosition,
                       wxSize(400, 350))
 
 void VScrollFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
 {
-    // TRUE is to force the frame to close
-    Close(TRUE);
+    // true is to force the frame to close
+    Close(true);
 }
 
 void VScrollFrame::OnAbout(wxCommandEvent& WXUNUSED(event))