Freeze few column in wxgrid
===

I have a window that is split to have a custom tree ctrl on left panel and a grid table on the right. Now I want the grid table to display the information in such a way that first few columns freeze (not scroll) while the remaining data has an option to scroll horizontally.
I have no clue how to proceed, please help.
I have seen that splitter window can be of some help, can someone provide a sample code.