Do you know the wxWidgets book:
it's free for download from http://www.informit.com/promotions/promotion.aspx?promo=135563 (http://www.informit.com/promotions/promotion.aspx?promo=135563) (there are several other interesting and free books on this side).
Direct link: http://www.phptr.com/content/images/0131473816/downloads/0131473816_book.pdf (http://www.phptr.com/content/images/0131473816/downloads/0131473816_book.pdf)
With wxScrolledWindow, you still need to setup the scrollbars-dimensions, but do not need to create event-handlers for scrolling, as it is needed by other windows.
You can put something like ScrolledWindow1->SetScrollbars(10, 10, 100, 100);
in the "Extra code" section of the wxScrolledWindow (assuming the variable holding the pointer to the scrolled window is called ScrolledWindow1).
You can place all the stuff directly into it, without the need of a wxPanel.
I personally prefer to work with sizers and use the automatically layout capability of wxWidgets.
I found a trick that I can quickly change the type wxPanel to wxScrolledWindow(Leave every items unchanged), see the screen shot:
(http://i683.photobucket.com/albums/vv194/ollydbg_cb/2012-01-04223844.png)
Then add the extra code
Panel1->SetScrollbars(10, 10, 100, 100);
Now, my original "wxPanel" becomes to "wxScrolledWindow" which has scrolled bars work OK.
Great thanks to jens!!!