Advertisement
prz-emo

Untitled

Jan 30th, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. void BryRzutFrm::DrawOnPanels()
  2. {
  3. wxClientDC CDCPanel1( m_panel4 );
  4. wxBufferedDC BDCPanel1( &CDCPanel1 );
  5. wxDC *DCPanel1 = &BDCPanel1;
  6. DCPanel1->SetBackground( wxBrush(RGB(255, 255, 255) ) );
  7. DCPanel1->Clear();
  8. DCPanel1->SetPen(wxPen(RGB(0,0,0)));
  9.  
  10.  
  11.  
  12.  
  13. BaseShape.draw( GenDrawOnDC(DCPanel1) );
  14.  
  15. /*
  16.  
  17. wxClientDC CDCPanel2(m_panel4);
  18. wxBufferedDC BDCPanel2(&CDCPanel2);
  19. wxDC *DCPanel2 = &CDCPanel2;
  20. DCPanel2->SetBackground(wxBrush(RGB(255, 255, 255)));
  21. DCPanel2->Clear();
  22. DCPanel2->SetPen(wxPen(RGB(0, 0, 0)));
  23.  
  24.  
  25. wxClientDC CDCPanel3(m_panel4);
  26. wxBufferedDC BDCPanel3(&CDCPanel3);
  27. wxDC *DCPanel3 = &CDCPanel3;
  28. DCPanel3->SetBackground(wxBrush(RGB(255, 255, 255)));
  29. DCPanel3->Clear();
  30. DCPanel3->SetPen(wxPen(RGB(0, 0, 0)));
  31. */
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement