-#endif // __POCKETPC__
-
-#if wxUSE_BUTTON
-
- wxSizer* buttonSizer = CreateStdDialogButtonSizer( flags );
-
- // Mac Human Interface Guidelines recommend not to use static lines as grouping elements
-#if wxUSE_STATLINE && !defined(__WXMAC__)
- if(!separated)
- return buttonSizer;
-
- wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
- topsizer->Add( new wxStaticLine( this, wxID_ANY ), 0, wxEXPAND | wxBOTTOM, distance );
- topsizer->Add( buttonSizer, 0, wxEXPAND );
- return topsizer;