~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/codesnippets/finddialogs.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
static wxArrayString m_findstrHist;
92
92
static wxArrayString m_replacestrHist;
93
93
 
94
 
BEGIN_EVENT_TABLE (myFindReplaceDlg, wxDialog)
 
94
BEGIN_EVENT_TABLE (myFindReplaceDlg, wxScrollingDialog)
95
95
    EVT_BUTTON (wxID_CANCEL,     myFindReplaceDlg::OnCancel)
96
96
    EVT_BUTTON (wxID_OK,         myFindReplaceDlg::OnOkay)
97
97
    EVT_BUTTON (myID_REPLACE,    myFindReplaceDlg::OnReplace)
104
104
                                    const wxString &replacestr,
105
105
                                    wxUint32 flags,
106
106
                                    long style)
107
 
               : wxDialog (parent, -1, _("Dialog"),
 
107
               : wxScrollingDialog (parent, -1, _("Dialog"),
108
108
                           wxDefaultPosition, wxDefaultSize,
109
109
                           style | wxDEFAULT_DIALOG_STYLE) {
110
110
 
384
384
    m_findstr->SetFocus();
385
385
    m_findstr->SetSelection (-1, -1);
386
386
    Fit ();
387
 
    return wxDialog::ShowModal ();
 
387
    return wxScrollingDialog::ShowModal ();
388
388
}
389
389
 
390
390
void myFindReplaceDlg::LoadDirHistory () {
536
536
// myGotoDlg
537
537
//----------------------------------------------------------------------------
538
538
 
539
 
BEGIN_EVENT_TABLE (myGotoDlg, wxDialog)
 
539
BEGIN_EVENT_TABLE (myGotoDlg, wxScrollingDialog)
540
540
    EVT_MENU   (wxID_HELP, myGotoDlg::OnHelp)
541
541
END_EVENT_TABLE()
542
542
 
543
543
myGotoDlg::myGotoDlg (wxWindow *parent,
544
544
                      long style)
545
 
         : wxDialog (parent, -1, _("Goto line"),
 
545
         : wxScrollingDialog (parent, -1, _("Goto line"),
546
546
                     wxDefaultPosition, wxDefaultSize,
547
547
                     style | wxDEFAULT_DIALOG_STYLE) {
548
548
 
605
605
int myGotoDlg::ShowModal (long WXUNUSED(style)) {
606
606
    m_position->SetFocus();
607
607
    m_position->SetSelection (-1, -1);
608
 
    return wxDialog::ShowModal ();
 
608
    return wxScrollingDialog::ShowModal ();
609
609
}